[gd_scene load_steps=5 format=3 uid="uid://fqg6y7xp34u0"] [ext_resource type="Script" path="res://src/gui/menu/options.gd" id="1_0813x"] [ext_resource type="Theme" uid="uid://dpktnl3r5wul1" path="res://src/gui/menu_theme.tres" id="1_stpo1"] [ext_resource type="Script" path="res://src/gui/menu/volume_slider.gd" id="3_2vqm2"] [ext_resource type="Script" path="res://src/gui/menu/brightness.gd" id="4_gybdg"] [node name="options" type="Control" node_paths=PackedStringArray("first_selection")] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme = ExtResource("1_stpo1") script = ExtResource("1_0813x") first_selection = NodePath("Background/BackButton") [node name="Background" type="Panel" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -131.0 offset_top = -231.0 offset_right = 132.0 offset_bottom = 169.0 grow_horizontal = 2 grow_vertical = 2 [node name="Label" type="Label" parent="Background"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -52.0 offset_top = 24.0 offset_right = 52.0 offset_bottom = 50.0 grow_horizontal = 2 text = "OPTIONS" horizontal_alignment = 1 [node name="VBoxContainer" type="VBoxContainer" parent="Background"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -102.0 offset_top = -102.0 offset_right = 102.0 offset_bottom = 102.0 grow_horizontal = 2 grow_vertical = 2 [node name="Label" type="Label" parent="Background/VBoxContainer"] layout_mode = 2 text = "AUDIO" horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="Background/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(65, 0) layout_mode = 2 text = "MASTER" [node name="MarginContainer" type="MarginContainer" parent="Background/VBoxContainer/HBoxContainer"] layout_mode = 2 theme_override_constants/margin_top = 3 [node name="HSlider" type="HSlider" parent="Background/VBoxContainer/HBoxContainer/MarginContainer"] custom_minimum_size = Vector2(125, 0) layout_mode = 2 max_value = 1.0 step = 0.001 script = ExtResource("3_2vqm2") bus_name = "Master" [node name="HBoxContainer2" type="HBoxContainer" parent="Background/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/VBoxContainer/HBoxContainer2"] custom_minimum_size = Vector2(65, 0) layout_mode = 2 text = "MUSIC" [node name="MarginContainer" type="MarginContainer" parent="Background/VBoxContainer/HBoxContainer2"] layout_mode = 2 theme_override_constants/margin_top = 3 [node name="HSlider" type="HSlider" parent="Background/VBoxContainer/HBoxContainer2/MarginContainer"] custom_minimum_size = Vector2(125, 0) layout_mode = 2 max_value = 1.0 step = 0.001 script = ExtResource("3_2vqm2") bus_name = "Music" [node name="HBoxContainer3" type="HBoxContainer" parent="Background/VBoxContainer"] layout_mode = 2 [node name="Label" type="Label" parent="Background/VBoxContainer/HBoxContainer3"] custom_minimum_size = Vector2(65, 0) layout_mode = 2 text = "SFX" [node name="MarginContainer" type="MarginContainer" parent="Background/VBoxContainer/HBoxContainer3"] layout_mode = 2 theme_override_constants/margin_top = 3 [node name="HSlider" type="HSlider" parent="Background/VBoxContainer/HBoxContainer3/MarginContainer"] custom_minimum_size = Vector2(125, 0) layout_mode = 2 max_value = 1.0 step = 0.001 script = ExtResource("3_2vqm2") bus_name = "Sfx" [node name="Label2" type="Label" parent="Background/VBoxContainer"] layout_mode = 2 text = "BRIGHTNESS" horizontal_alignment = 1 [node name="Brightness" type="HSlider" parent="Background/VBoxContainer"] custom_minimum_size = Vector2(125, 0) layout_mode = 2 min_value = 0.01 max_value = 4.0 step = 0.01 value = 1.0 script = ExtResource("4_gybdg") [node name="BackButton" type="Button" parent="Background"] custom_minimum_size = Vector2(120, 40) layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -60.0 offset_top = -109.0 offset_right = 60.0 offset_bottom = -69.0 grow_horizontal = 2 grow_vertical = 0 size_flags_horizontal = 4 size_flags_vertical = 8 focus_neighbor_bottom = NodePath("../StartButton") text = "Back" [connection signal="value_changed" from="Background/VBoxContainer/Brightness" to="Background/VBoxContainer/Brightness" method="_on_value_changed"] [connection signal="pressed" from="Background/BackButton" to="." method="_on_back_button_pressed"]