2023-05-21 04:42:38 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://ic7535p11pds"]
|
|
|
|
|
|
|
|
[ext_resource type="Theme" uid="uid://bk0vu443pyq1g" path="res://Resources/MenuTheme.tres" id="1_p8g8v"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Managers/UI/Menus/Settings.cs" id="2_vlocu"]
|
|
|
|
[ext_resource type="LabelSettings" uid="uid://dkyqusswobqb3" path="res://Resources/ScoreLabelSettings.tres" id="2_wkoeb"]
|
|
|
|
[ext_resource type="FontFile" uid="uid://dq8ojwul8884x" path="res://Fonts/AtkinsonHyperlegible-Regular.ttf" id="3_ngmnl"]
|
|
|
|
|
|
|
|
[node name="Settings" type="VBoxContainer"]
|
|
|
|
offset_right = 800.0
|
|
|
|
offset_bottom = 600.0
|
|
|
|
theme = ExtResource("1_p8g8v")
|
|
|
|
script = ExtResource("2_vlocu")
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Settings
|
|
|
|
"
|
|
|
|
label_settings = ExtResource("2_wkoeb")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="InternalMainContainer" type="VBoxContainer" parent="ScrollContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="ScaleContainer" type="VBoxContainer" parent="ScrollContainer/InternalMainContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="ScrollContainer/InternalMainContainer/ScaleContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
2023-05-27 02:50:14 +00:00
|
|
|
text = "Scale"
|
2023-05-21 04:42:38 +00:00
|
|
|
|
|
|
|
[node name="Scale" type="SpinBox" parent="ScrollContainer/InternalMainContainer/ScaleContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
min_value = 1.0
|
|
|
|
max_value = 2.0
|
|
|
|
step = 0.01
|
|
|
|
value = 1.0
|
|
|
|
alignment = 1
|
|
|
|
|
2023-05-27 02:50:14 +00:00
|
|
|
[node name="VSyncContainer" type="VBoxContainer" parent="ScrollContainer/InternalMainContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="ScrollContainer/InternalMainContainer/VSyncContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "VSync"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="VSyncOptions" type="OptionButton" parent="ScrollContainer/InternalMainContainer/VSyncContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
item_count = 4
|
|
|
|
selected = 1
|
|
|
|
fit_to_longest_item = false
|
|
|
|
popup/item_0/text = "Disabled"
|
|
|
|
popup/item_0/id = 0
|
|
|
|
popup/item_1/text = "Enabled"
|
|
|
|
popup/item_1/id = 1
|
|
|
|
popup/item_2/text = "Adaptive"
|
|
|
|
popup/item_2/id = 2
|
|
|
|
popup/item_3/text = "Mailbox"
|
|
|
|
popup/item_3/id = 3
|
|
|
|
|
2023-05-21 04:42:38 +00:00
|
|
|
[node name="SaveButton" type="Button" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
disabled = true
|
|
|
|
text = "Save
|
|
|
|
"
|
|
|
|
|
|
|
|
[node name="BackButton" type="Button" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 8
|
|
|
|
theme_override_fonts/font = ExtResource("3_ngmnl")
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
text = "Back
|
|
|
|
"
|
|
|
|
|
2023-05-27 02:50:14 +00:00
|
|
|
[connection signal="value_changed" from="ScrollContainer/InternalMainContainer/ScaleContainer/Scale" to="." method="ScaleChanged"]
|
|
|
|
[connection signal="item_selected" from="ScrollContainer/InternalMainContainer/VSyncContainer/VSyncOptions" to="." method="VSyncChanged"]
|
2023-05-21 04:42:38 +00:00
|
|
|
[connection signal="pressed" from="SaveButton" to="." method="OnSaveButtonPressed"]
|
|
|
|
[connection signal="pressed" from="BackButton" to="." method="OnBackButtonPressed"]
|