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.

156 lines
4.4 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/settings.gd" type="Script" id=2]
  4. [ext_resource path="res://scenes/menus/BaseMenu.tscn" type="PackedScene" id=3]
  5. [ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=4]
  6. [ext_resource path="res://scenes/menus/SettingsControlsMenu.tscn" type="PackedScene" id=5]
  7. [ext_resource path="res://assets/icons/save.png" type="Texture" id=6]
  8. [node name="settings_menu" type="Control"]
  9. anchor_right = 1.0
  10. anchor_bottom = 1.0
  11. margin_left = 1.45612
  12. margin_top = 1.45612
  13. margin_right = 1.45605
  14. margin_bottom = 1.45612
  15. theme = ExtResource( 1 )
  16. script = ExtResource( 2 )
  17. [node name="menu" parent="." instance=ExtResource( 3 )]
  18. [node name="tabs" type="TabContainer" parent="menu"]
  19. anchor_left = 0.5
  20. anchor_top = 0.5
  21. anchor_right = 0.5
  22. anchor_bottom = 0.5
  23. margin_left = -464.5
  24. margin_top = -223.5
  25. margin_right = 459.5
  26. margin_bottom = 177.5
  27. grow_horizontal = 2
  28. grow_vertical = 2
  29. size_flags_horizontal = 3
  30. size_flags_vertical = 3
  31. tab_align = 0
  32. [node name="game" type="Tabs" parent="menu/tabs"]
  33. anchor_right = 1.0
  34. anchor_bottom = 1.0
  35. margin_left = 4.0
  36. margin_top = 45.0
  37. margin_right = -4.0
  38. margin_bottom = -4.0
  39. [node name="GridContainer" type="GridContainer" parent="menu/tabs/game"]
  40. margin_left = 9.0
  41. margin_top = 10.0
  42. margin_right = 416.0
  43. margin_bottom = 200.0
  44. [node name="settings_player" parent="menu/tabs/game/GridContainer" instance=ExtResource( 4 )]
  45. margin_left = 0.0
  46. margin_top = 0.0
  47. margin_right = 407.0
  48. margin_bottom = 146.0
  49. [node name="name_label" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="0"]
  50. margin_right = 407.0
  51. margin_bottom = 27.0
  52. [node name="name" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="1"]
  53. margin_top = 31.0
  54. margin_right = 407.0
  55. margin_bottom = 68.0
  56. [node name="color_label" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="2"]
  57. margin_top = 72.0
  58. margin_right = 407.0
  59. margin_bottom = 99.0
  60. [node name="color" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="3"]
  61. margin_top = 103.0
  62. margin_right = 407.0
  63. margin_bottom = 136.0
  64. [node name="bots" type="CheckButton" parent="menu/tabs/game/GridContainer"]
  65. margin_top = 150.0
  66. margin_right = 143.0
  67. margin_bottom = 190.0
  68. size_flags_horizontal = 0
  69. size_flags_vertical = 0
  70. text = "Bots"
  71. [node name="controls" type="Tabs" parent="menu/tabs"]
  72. visible = false
  73. anchor_right = 1.0
  74. anchor_bottom = 1.0
  75. margin_left = 4.0
  76. margin_top = 45.0
  77. margin_right = -4.0
  78. margin_bottom = -4.0
  79. [node name="settings_controls" parent="menu/tabs/controls" instance=ExtResource( 5 )]
  80. [node name="graphics" type="Tabs" parent="menu/tabs"]
  81. visible = false
  82. anchor_right = 1.0
  83. anchor_bottom = 1.0
  84. margin_left = 4.0
  85. margin_top = 45.0
  86. margin_right = -4.0
  87. margin_bottom = -4.0
  88. [node name="system" type="Tabs" parent="menu/tabs"]
  89. visible = false
  90. anchor_right = 1.0
  91. anchor_bottom = 1.0
  92. margin_left = 4.0
  93. margin_top = 45.0
  94. margin_right = -4.0
  95. margin_bottom = -4.0
  96. [node name="GridContainer" type="GridContainer" parent="menu/tabs/system"]
  97. margin_left = 12.0
  98. margin_top = 8.0
  99. margin_right = 476.0
  100. margin_bottom = 124.0
  101. columns = 2
  102. [node name="locale_label" type="Label" parent="menu/tabs/system/GridContainer"]
  103. margin_right = 102.0
  104. margin_bottom = 27.0
  105. text = "LOCALE"
  106. valign = 1
  107. [node name="locales" type="ItemList" parent="menu/tabs/system/GridContainer"]
  108. margin_left = 106.0
  109. margin_right = 464.0
  110. margin_bottom = 27.0
  111. size_flags_horizontal = 3
  112. auto_height = true
  113. [node name="save" type="Button" parent="menu"]
  114. anchor_left = 1.0
  115. anchor_top = 1.0
  116. anchor_right = 1.0
  117. anchor_bottom = 1.0
  118. margin_left = -147.0
  119. margin_top = -56.0
  120. grow_horizontal = 0
  121. grow_vertical = 0
  122. size_flags_horizontal = 3
  123. size_flags_vertical = 3
  124. text = "SAVE"
  125. icon = ExtResource( 6 )
  126. flat = true
  127. [connection signal="item_selected" from="menu/tabs/system/GridContainer/locales" to="." method="_on_locales_item_selected"]
  128. [connection signal="tree_exiting" from="menu/tabs/system/GridContainer/locales" to="." method="_on_locales_tree_exiting"]
  129. [connection signal="visibility_changed" from="menu/tabs/system/GridContainer/locales" to="." method="_init_locales"]
  130. [connection signal="pressed" from="menu/save" to="." method="_on_save_pressed"]
  131. [editable path="menu"]
  132. [editable path="menu/tabs/game/GridContainer/settings_player"]
  133. [editable path="menu/tabs/controls/settings_controls"]