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.

128 lines
4.0 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 = -136.5
  24. margin_right = 217.5
  25. margin_bottom = 136.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 = 210.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 = 145.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("../../../HBoxContainer/bots")
  56. [node name="HBoxContainer" type="HBoxContainer" parent="menu/VBoxContainer"]
  57. margin_top = 149.0
  58. margin_right = 399.0
  59. margin_bottom = 189.0
  60. [node name="bots" type="CheckButton" parent="menu/VBoxContainer/HBoxContainer"]
  61. margin_right = 143.0
  62. margin_bottom = 40.0
  63. focus_neighbour_top = NodePath("../../player_settings/VBoxContainer/color")
  64. focus_neighbour_right = NodePath("../bot_difficulty")
  65. focus_neighbour_bottom = NodePath("../../../back")
  66. size_flags_horizontal = 0
  67. pressed = true
  68. text = "BOTS"
  69. flat = true
  70. [node name="bot_difficulty" type="HSlider" parent="menu/VBoxContainer/HBoxContainer"]
  71. margin_left = 147.0
  72. margin_right = 399.0
  73. margin_bottom = 40.0
  74. focus_neighbour_left = NodePath("../bots")
  75. focus_neighbour_top = NodePath("../../player_settings/VBoxContainer/color")
  76. focus_neighbour_bottom = NodePath("../../../start")
  77. size_flags_horizontal = 3
  78. size_flags_vertical = 1
  79. max_value = 1.0
  80. step = 0.1
  81. tick_count = 11
  82. ticks_on_borders = true
  83. [node name="start" type="Button" parent="menu"]
  84. anchor_left = 1.0
  85. anchor_top = 1.0
  86. anchor_right = 1.0
  87. anchor_bottom = 1.0
  88. margin_left = -234.0
  89. margin_top = -56.0
  90. grow_horizontal = 0
  91. rect_pivot_offset = Vector2( 1.89856, 0.845154 )
  92. focus_neighbour_left = NodePath("../back")
  93. focus_neighbour_top = NodePath("../VBoxContainer/HBoxContainer/bot_difficulty")
  94. custom_fonts/font = ExtResource( 4 )
  95. text = "START_GAME"
  96. icon = ExtResource( 5 )
  97. flat = true
  98. [node name="back" type="Button" parent="menu"]
  99. anchor_top = 1.0
  100. anchor_bottom = 1.0
  101. margin_top = -56.0
  102. margin_right = 132.0
  103. rect_pivot_offset = Vector2( 0.606262, -0.447205 )
  104. focus_neighbour_top = NodePath("../VBoxContainer/HBoxContainer/bots")
  105. focus_neighbour_right = NodePath("../start")
  106. custom_fonts/font = ExtResource( 4 )
  107. text = "BACK"
  108. icon = ExtResource( 6 )
  109. flat = true
  110. [connection signal="toggled" from="menu/VBoxContainer/HBoxContainer/bots" to="." method="_on_bots_toggled"]
  111. [connection signal="pressed" from="menu/start" to="." method="_on_start_pressed"]
  112. [connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]
  113. [editable path="menu/VBoxContainer/player_settings"]