Public repository for MUR pre alpha
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
3.2 KiB

  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
  3. [ext_resource path="res://scripts/menus/local_game.gd" type="Script" id=2]
  4. [ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=3]
  5. [ext_resource path="res://resources/ui/font.tres" type="DynamicFont" id=4]
  6. [ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=5]
  7. [ext_resource path="res://assets/icons/return.png" type="Texture" id=6]
  8. [node name="local_game_menu" type="Control"]
  9. anchor_right = 1.0
  10. anchor_bottom = 1.0
  11. margin_left = 0.857376
  12. margin_top = 0.857422
  13. margin_right = 0.857422
  14. margin_bottom = 0.857422
  15. theme = ExtResource( 1 )
  16. script = ExtResource( 2 )
  17. [node name="menu" type="Panel" parent="."]
  18. anchor_left = 0.5
  19. anchor_top = 0.5
  20. anchor_right = 0.5
  21. anchor_bottom = 0.5
  22. margin_left = -217.5
  23. margin_top = -130.5
  24. margin_right = 217.5
  25. margin_bottom = 130.5
  26. grow_horizontal = 2
  27. grow_vertical = 2
  28. [node name="VBoxContainer" type="VBoxContainer" parent="menu"]
  29. margin_left = 19.0
  30. margin_top = 21.0
  31. margin_right = 418.0
  32. margin_bottom = 197.0
  33. [node name="player_settings" parent="menu/VBoxContainer" instance=ExtResource( 3 )]
  34. margin_left = 0.0
  35. margin_top = 0.0
  36. margin_right = 399.0
  37. margin_bottom = 132.0
  38. [node name="name_label" parent="menu/VBoxContainer/player_settings/VBoxContainer" index="0"]
  39. margin_right = 399.0
  40. margin_bottom = 27.0
  41. [node name="name" parent="menu/VBoxContainer/player_settings/VBoxContainer" index="1"]
  42. margin_top = 31.0
  43. margin_right = 399.0
  44. margin_bottom = 68.0
  45. focus_neighbour_bottom = NodePath("../color")
  46. [node name="color_label" parent="menu/VBoxContainer/player_settings/VBoxContainer" index="2"]
  47. margin_top = 72.0
  48. margin_right = 399.0
  49. margin_bottom = 99.0
  50. [node name="color" parent="menu/VBoxContainer/player_settings/VBoxContainer" index="3"]
  51. margin_top = 103.0
  52. margin_right = 399.0
  53. margin_bottom = 136.0
  54. focus_neighbour_top = NodePath("../name")
  55. focus_neighbour_bottom = NodePath("../../../bots")
  56. [node name="bots" type="CheckButton" parent="menu/VBoxContainer"]
  57. margin_top = 136.0
  58. margin_right = 143.0
  59. margin_bottom = 176.0
  60. focus_neighbour_top = NodePath("../player_settings/VBoxContainer/color")
  61. focus_neighbour_bottom = NodePath("../../start")
  62. size_flags_horizontal = 0
  63. pressed = true
  64. text = "BOTS"
  65. flat = true
  66. [node name="start" type="Button" parent="menu"]
  67. anchor_left = 1.0
  68. anchor_top = 1.0
  69. anchor_right = 1.0
  70. anchor_bottom = 1.0
  71. margin_left = -234.0
  72. margin_top = -56.0
  73. grow_horizontal = 0
  74. rect_pivot_offset = Vector2( 1.89856, 0.845154 )
  75. focus_neighbour_left = NodePath("../back")
  76. focus_neighbour_top = NodePath("../VBoxContainer/bots")
  77. custom_fonts/font = ExtResource( 4 )
  78. text = "START_GAME"
  79. icon = ExtResource( 5 )
  80. flat = true
  81. [node name="back" type="Button" parent="menu"]
  82. anchor_top = 1.0
  83. anchor_bottom = 1.0
  84. margin_top = -56.0
  85. margin_right = 132.0
  86. rect_pivot_offset = Vector2( 0.606262, -0.447205 )
  87. focus_neighbour_top = NodePath("../VBoxContainer/bots")
  88. focus_neighbour_right = NodePath("../start")
  89. custom_fonts/font = ExtResource( 4 )
  90. text = "BACK"
  91. icon = ExtResource( 6 )
  92. flat = true
  93. [connection signal="pressed" from="menu/start" to="." method="_on_start_pressed"]
  94. [connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]
  95. [editable path="menu/VBoxContainer/player_settings"]