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.

107 lines
3.1 KiB

  1. [gd_scene load_steps=10 format=2]
  2. [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
  3. [ext_resource path="res://scripts/menus/settings_menu.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/SettingsGameMenu.tscn" type="PackedScene" id=4]
  6. [ext_resource path="res://scenes/menus/SettingsControlsMenu.tscn" type="PackedScene" id=5]
  7. [ext_resource path="res://scenes/menus/SettingsGraphicsMenu.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://scenes/menus/SettingsSystemMenu.tscn" type="PackedScene" id=7]
  9. [ext_resource path="res://assets/icons/checkmark.png" type="Texture" id=8]
  10. [ext_resource path="res://assets/icons/save.png" type="Texture" id=9]
  11. [node name="settings_menu" type="Control"]
  12. anchor_right = 1.0
  13. anchor_bottom = 1.0
  14. margin_left = 1.45612
  15. margin_top = 1.45612
  16. margin_right = 1.45605
  17. margin_bottom = 1.45612
  18. theme = ExtResource( 1 )
  19. script = ExtResource( 2 )
  20. [node name="menu" parent="." instance=ExtResource( 3 )]
  21. [node name="back" parent="menu" index="0"]
  22. focus_neighbour_top = NodePath("../tabs/game")
  23. focus_neighbour_right = NodePath("../HBoxContainer/apply")
  24. [node name="tabs" type="TabContainer" parent="menu"]
  25. anchor_left = 0.5
  26. anchor_top = 0.5
  27. anchor_right = 0.5
  28. anchor_bottom = 0.5
  29. margin_left = -464.5
  30. margin_top = -223.5
  31. margin_right = 459.5
  32. margin_bottom = 177.5
  33. grow_horizontal = 2
  34. grow_vertical = 2
  35. focus_mode = 2
  36. size_flags_horizontal = 3
  37. size_flags_vertical = 3
  38. tab_align = 0
  39. [node name="game" parent="menu/tabs" instance=ExtResource( 4 )]
  40. [node name="controls" parent="menu/tabs" instance=ExtResource( 5 )]
  41. visible = false
  42. anchor_right = 1.0
  43. anchor_bottom = 1.0
  44. margin_left = 4.0
  45. margin_top = 45.0
  46. margin_right = -4.0
  47. margin_bottom = -4.0
  48. [node name="graphics" parent="menu/tabs" instance=ExtResource( 6 )]
  49. visible = false
  50. [node name="system" parent="menu/tabs" instance=ExtResource( 7 )]
  51. visible = false
  52. [node name="HBoxContainer" type="HBoxContainer" parent="menu"]
  53. anchor_left = 1.0
  54. anchor_top = 1.0
  55. anchor_right = 1.0
  56. anchor_bottom = 1.0
  57. margin_left = -286.0
  58. margin_top = -56.0
  59. grow_horizontal = 0
  60. grow_vertical = 0
  61. size_flags_horizontal = 8
  62. size_flags_vertical = 8
  63. alignment = 2
  64. [node name="apply" type="Button" parent="menu/HBoxContainer"]
  65. margin_right = 150.0
  66. margin_bottom = 56.0
  67. grow_horizontal = 0
  68. grow_vertical = 0
  69. focus_neighbour_left = NodePath("../../back")
  70. focus_neighbour_top = NodePath("../../tabs/game")
  71. focus_neighbour_right = NodePath("../save")
  72. size_flags_horizontal = 10
  73. size_flags_vertical = 10
  74. text = "APPLY"
  75. icon = ExtResource( 8 )
  76. flat = true
  77. align = 0
  78. [node name="save" type="Button" parent="menu/HBoxContainer"]
  79. margin_left = 154.0
  80. margin_right = 286.0
  81. margin_bottom = 56.0
  82. grow_horizontal = 0
  83. grow_vertical = 0
  84. focus_neighbour_left = NodePath("../apply")
  85. focus_neighbour_top = NodePath("../../tabs/game")
  86. size_flags_horizontal = 10
  87. size_flags_vertical = 10
  88. text = "SAVE"
  89. icon = ExtResource( 9 )
  90. flat = true
  91. align = 0
  92. [connection signal="pressed" from="menu/HBoxContainer/apply" to="." method="_on_apply_pressed"]
  93. [connection signal="pressed" from="menu/HBoxContainer/save" to="." method="_on_save_pressed"]
  94. [editable path="menu"]