116 lines
3.8 KiB
Text
116 lines
3.8 KiB
Text
[gd_scene format=3 uid="uid://bsxojyyayxo1m"]
|
|
|
|
[ext_resource type="Script" uid="uid://3k85lw33r4j2" path="res://scenes/ui/options_menu/options.gd" id="1_c8rm1"]
|
|
[ext_resource type="PackedScene" uid="uid://b7kfwgahpib6l" path="res://scenes/ui/options_menu/options_menu.tscn" id="2_ts0bl"]
|
|
[ext_resource type="ButtonGroup" uid="uid://bm4hwoio7vovb" path="res://classes/options/options.tres" id="2_vwtc4"]
|
|
|
|
[node name="Options" type="Control" unique_id=855035058]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_c8rm1")
|
|
categories = ExtResource("2_vwtc4")
|
|
|
|
[node name="TopBarContainer" type="MarginContainer" parent="." unique_id=779856530]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_top = 0.05
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.12
|
|
grow_horizontal = 2
|
|
theme_override_constants/margin_left = 0
|
|
theme_override_constants/margin_top = 0
|
|
theme_override_constants/margin_right = 0
|
|
theme_override_constants/margin_bottom = 0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="TopBarContainer" unique_id=287094567]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
|
|
[node name="GameplayButton" type="Button" parent="TopBarContainer/HBoxContainer" unique_id=1424084920]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
toggle_mode = true
|
|
button_pressed = true
|
|
button_group = ExtResource("2_vwtc4")
|
|
text = " Gameplay "
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="TopBarContainer/HBoxContainer" unique_id=1644723778]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 125
|
|
|
|
[node name="DisplayButton" type="Button" parent="TopBarContainer/HBoxContainer" unique_id=600179838]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
toggle_mode = true
|
|
button_group = ExtResource("2_vwtc4")
|
|
text = " Display "
|
|
|
|
[node name="VSeparator2" type="VSeparator" parent="TopBarContainer/HBoxContainer" unique_id=666020065]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 125
|
|
|
|
[node name="AudioButton" type="Button" parent="TopBarContainer/HBoxContainer" unique_id=1083162184]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
toggle_mode = true
|
|
button_group = ExtResource("2_vwtc4")
|
|
text = " Audio "
|
|
|
|
[node name="VSeparator3" type="VSeparator" parent="TopBarContainer/HBoxContainer" unique_id=812392494]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 125
|
|
|
|
[node name="ControlsButton" type="Button" parent="TopBarContainer/HBoxContainer" unique_id=61824299]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
toggle_mode = true
|
|
button_group = ExtResource("2_vwtc4")
|
|
text = " Controls "
|
|
|
|
[node name="OptionsContainer" parent="." unique_id=1863015247 instance=ExtResource("2_ts0bl")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchor_bottom = 0.88
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="AcceptContainer" type="MarginContainer" parent="." unique_id=826679851]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.8
|
|
anchor_top = 0.9
|
|
anchor_right = 0.9
|
|
anchor_bottom = 0.95
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
|
|
[node name="AcceptButton" type="Button" parent="AcceptContainer" unique_id=1423598466]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Accept"
|
|
|
|
[node name="CancelContainer" type="MarginContainer" parent="." unique_id=135907360]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.1
|
|
anchor_top = 0.9
|
|
anchor_right = 0.2
|
|
anchor_bottom = 0.95
|
|
grow_vertical = 0
|
|
|
|
[node name="CancelButton" type="Button" parent="CancelContainer" unique_id=1447048560]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Cancel"
|
|
|
|
[connection signal="pressed" from="CancelContainer/CancelButton" to="." method="_on_cancel_button_pressed"]
|