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
156 lines
4.4 KiB
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://scripts/menus/settings.gd" type="Script" id=2]
|
|
[ext_resource path="res://scenes/menus/BaseMenu.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://scenes/menus/SettingsControlsMenu.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://assets/icons/save.png" type="Texture" id=6]
|
|
|
|
[node name="settings_menu" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 1.45612
|
|
margin_top = 1.45612
|
|
margin_right = 1.45605
|
|
margin_bottom = 1.45612
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="menu" parent="." instance=ExtResource( 3 )]
|
|
|
|
[node name="tabs" type="TabContainer" parent="menu"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -464.5
|
|
margin_top = -223.5
|
|
margin_right = 459.5
|
|
margin_bottom = 177.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
tab_align = 0
|
|
|
|
[node name="game" type="Tabs" parent="menu/tabs"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="menu/tabs/game"]
|
|
margin_left = 9.0
|
|
margin_top = 10.0
|
|
margin_right = 416.0
|
|
margin_bottom = 200.0
|
|
|
|
[node name="settings_player" parent="menu/tabs/game/GridContainer" instance=ExtResource( 4 )]
|
|
margin_left = 0.0
|
|
margin_top = 0.0
|
|
margin_right = 407.0
|
|
margin_bottom = 146.0
|
|
|
|
[node name="name_label" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="0"]
|
|
margin_right = 407.0
|
|
margin_bottom = 27.0
|
|
|
|
[node name="name" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="1"]
|
|
margin_top = 31.0
|
|
margin_right = 407.0
|
|
margin_bottom = 68.0
|
|
|
|
[node name="color_label" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="2"]
|
|
margin_top = 72.0
|
|
margin_right = 407.0
|
|
margin_bottom = 99.0
|
|
|
|
[node name="color" parent="menu/tabs/game/GridContainer/settings_player/GridContainer" index="3"]
|
|
margin_top = 103.0
|
|
margin_right = 407.0
|
|
margin_bottom = 136.0
|
|
|
|
[node name="bots" type="CheckButton" parent="menu/tabs/game/GridContainer"]
|
|
margin_top = 150.0
|
|
margin_right = 143.0
|
|
margin_bottom = 190.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
text = "Bots"
|
|
|
|
[node name="controls" type="Tabs" parent="menu/tabs"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
|
|
[node name="settings_controls" parent="menu/tabs/controls" instance=ExtResource( 5 )]
|
|
|
|
[node name="graphics" type="Tabs" parent="menu/tabs"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
|
|
[node name="system" type="Tabs" parent="menu/tabs"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 45.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="menu/tabs/system"]
|
|
margin_left = 12.0
|
|
margin_top = 8.0
|
|
margin_right = 476.0
|
|
margin_bottom = 124.0
|
|
columns = 2
|
|
|
|
[node name="locale_label" type="Label" parent="menu/tabs/system/GridContainer"]
|
|
margin_right = 102.0
|
|
margin_bottom = 27.0
|
|
text = "LOCALE"
|
|
valign = 1
|
|
|
|
[node name="locales" type="ItemList" parent="menu/tabs/system/GridContainer"]
|
|
margin_left = 106.0
|
|
margin_right = 464.0
|
|
margin_bottom = 27.0
|
|
size_flags_horizontal = 3
|
|
auto_height = true
|
|
|
|
[node name="save" type="Button" parent="menu"]
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -147.0
|
|
margin_top = -56.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
text = "SAVE"
|
|
icon = ExtResource( 6 )
|
|
flat = true
|
|
[connection signal="item_selected" from="menu/tabs/system/GridContainer/locales" to="." method="_on_locales_item_selected"]
|
|
[connection signal="tree_exiting" from="menu/tabs/system/GridContainer/locales" to="." method="_on_locales_tree_exiting"]
|
|
[connection signal="visibility_changed" from="menu/tabs/system/GridContainer/locales" to="." method="_init_locales"]
|
|
[connection signal="pressed" from="menu/save" to="." method="_on_save_pressed"]
|
|
|
|
[editable path="menu"]
|
|
|
|
[editable path="menu/tabs/game/GridContainer/settings_player"]
|
|
|
|
[editable path="menu/tabs/controls/settings_controls"]
|