game.tscn 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [gd_scene load_steps=2 format=3 uid="uid://dqxum77awcw6u"]
  2. [ext_resource type="Script" path="res://script/game.gd" id="1"]
  3. [node name="Game" type="Control"]
  4. layout_mode = 3
  5. anchors_preset = 15
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. size_flags_horizontal = 3
  9. size_flags_vertical = 3
  10. mouse_filter = 1
  11. script = ExtResource("1")
  12. [node name="HBoxContainer" type="HBoxContainer" parent="."]
  13. layout_mode = 0
  14. anchor_right = 1.0
  15. anchor_bottom = 1.0
  16. [node name="RichTextLabel" type="RichTextLabel" parent="HBoxContainer"]
  17. layout_mode = 2
  18. size_flags_horizontal = 3
  19. [node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
  20. layout_mode = 2
  21. size_flags_horizontal = 3
  22. [node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
  23. layout_mode = 2
  24. text = "Players:"
  25. [node name="ItemList" type="ItemList" parent="HBoxContainer/VBoxContainer"]
  26. layout_mode = 2
  27. size_flags_horizontal = 3
  28. size_flags_vertical = 3
  29. same_column_width = true
  30. [node name="Action" type="Button" parent="HBoxContainer/VBoxContainer"]
  31. layout_mode = 2
  32. disabled = true
  33. text = "Do Action!"
  34. [connection signal="pressed" from="HBoxContainer/VBoxContainer/Action" to="." method="_on_Action_pressed"]