game.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://script/game.gd" type="Script" id=1]
  3. [node name="Game" type="Control"]
  4. anchor_right = 1.0
  5. anchor_bottom = 1.0
  6. mouse_filter = 1
  7. size_flags_horizontal = 3
  8. size_flags_vertical = 3
  9. script = ExtResource( 1 )
  10. __meta__ = {
  11. "_edit_use_anchors_": false
  12. }
  13. [node name="HBoxContainer" type="HBoxContainer" parent="."]
  14. anchor_right = 1.0
  15. anchor_bottom = 1.0
  16. [node name="RichTextLabel" type="RichTextLabel" parent="HBoxContainer"]
  17. offset_right = 510.0
  18. offset_bottom = 600.0
  19. size_flags_horizontal = 3
  20. [node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
  21. offset_left = 514.0
  22. offset_right = 1024.0
  23. offset_bottom = 600.0
  24. size_flags_horizontal = 3
  25. [node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
  26. offset_right = 510.0
  27. offset_bottom = 14.0
  28. text = "Players:"
  29. [node name="ItemList" type="ItemList" parent="HBoxContainer/VBoxContainer"]
  30. offset_top = 18.0
  31. offset_right = 510.0
  32. offset_bottom = 576.0
  33. size_flags_horizontal = 3
  34. size_flags_vertical = 3
  35. same_column_width = true
  36. [node name="Action" type="Button" parent="HBoxContainer/VBoxContainer"]
  37. offset_top = 580.0
  38. offset_right = 510.0
  39. offset_bottom = 600.0
  40. disabled = true
  41. text = "Do Action!"
  42. [connection signal="pressed" from="HBoxContainer/VBoxContainer/Action" to="." method="_on_Action_pressed"]