Files
mmo/scenes/menu/options_menu.tscn
Marek Le 2d4002bd3f refactor
2026-05-09 23:37:26 +02:00

109 lines
2.6 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://b0options0001"]
[ext_resource type="Script" path="res://scenes/menu/options_menu.gd" id="1"]
[node name="OptionsMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("1")
[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.1, 0.1, 0.15, 1)
[node name="Center" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
[node name="VBox" type="VBoxContainer" parent="Center"]
layout_mode = 2
custom_minimum_size = Vector2(420, 0)
[node name="Title" type="Label" parent="Center/VBox"]
layout_mode = 2
text = "Options"
horizontal_alignment = 1
theme_override_font_sizes/font_size = 36
[node name="MasterRow" type="HBoxContainer" parent="Center/VBox"]
layout_mode = 2
[node name="MasterLabel" type="Label" parent="Center/VBox/MasterRow"]
layout_mode = 2
custom_minimum_size = Vector2(110, 0)
text = "Master"
[node name="MasterSlider" type="HSlider" parent="Center/VBox/MasterRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
min_value = 0.0
max_value = 1.0
step = 0.05
value = 1.0
[node name="MusicRow" type="HBoxContainer" parent="Center/VBox"]
layout_mode = 2
[node name="MusicLabel" type="Label" parent="Center/VBox/MusicRow"]
layout_mode = 2
custom_minimum_size = Vector2(110, 0)
text = "Music"
[node name="MusicSlider" type="HSlider" parent="Center/VBox/MusicRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
min_value = 0.0
max_value = 1.0
step = 0.05
value = 1.0
[node name="SfxRow" type="HBoxContainer" parent="Center/VBox"]
layout_mode = 2
[node name="SfxLabel" type="Label" parent="Center/VBox/SfxRow"]
layout_mode = 2
custom_minimum_size = Vector2(110, 0)
text = "SFX"
[node name="SfxSlider" type="HSlider" parent="Center/VBox/SfxRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
min_value = 0.0
max_value = 1.0
step = 0.05
value = 1.0
[node name="SensRow" type="HBoxContainer" parent="Center/VBox"]
layout_mode = 2
[node name="SensLabel" type="Label" parent="Center/VBox/SensRow"]
layout_mode = 2
custom_minimum_size = Vector2(110, 0)
text = "Mouse Sens"
[node name="SensSlider" type="HSlider" parent="Center/VBox/SensRow"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
min_value = 0.1
max_value = 3.0
step = 0.1
value = 1.0
[node name="Back" type="Button" parent="Center/VBox"]
layout_mode = 2
text = "Back"
custom_minimum_size = Vector2(0, 40)
[connection signal="pressed" from="Center/VBox/Back" to="." method="_on_back_pressed"]