[gd_scene load_steps=5 format=3 uid="uid://d3tqrm4ry4l88"] [ext_resource type="Script" uid="uid://h1slqbemgwvr" path="res://scenes/UI/Settings.gd" id="1_1dggd"] [ext_resource type="Texture2D" uid="uid://dhuosr0p605gj" path="res://assets/images/pp_start_bg.png" id="1_i47rn"] [ext_resource type="FontFile" uid="uid://m5ceou0rk6j6" path="res://assets/fonts/PlayfairDisplay-VariableFont_wght.ttf" id="2_46duy"] [ext_resource type="Theme" uid="uid://wpxmub0n2dr3" path="res://themes/button_theme.tres" id="3_46duy"] [node name="settings_screen" type="Node2D"] script = ExtResource("1_1dggd") metadata/_edit_vertical_guides_ = [1152.0] [node name="TextureRect" type="TextureRect" parent="."] offset_left = -192.0 offset_top = -188.0 offset_right = 1344.0 offset_bottom = 836.0 texture = ExtResource("1_i47rn") [node name="MarginContainer" type="MarginContainer" parent="."] offset_right = 1152.0 offset_bottom = 648.0 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 [node name="Label" type="Label" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_fonts/font = ExtResource("2_46duy") theme_override_font_sizes/font_size = 42 text = "Settings" horizontal_alignment = 1 [node name="TabBar" type="TabBar" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme = ExtResource("3_46duy") current_tab = 0 tab_count = 4 tab_0/title = "Gameplay" tab_1/title = "Video" tab_2/title = "Audio" tab_3/title = "Dev" [node name="TabContainer" type="TabContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 tabs_visible = false [node name="Gameplay" type="Control" parent="MarginContainer/VBoxContainer/TabContainer"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Video" type="Control" parent="MarginContainer/VBoxContainer/TabContainer"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Audio" type="Control" parent="MarginContainer/VBoxContainer/TabContainer"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="AudioVBox" type="VBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer/Audio"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 10 offset_left = 120.0 offset_top = 240.0 offset_right = -120.0 offset_bottom = -40.0 [node name="MusicVolumeLabel" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox"] layout_mode = 2 text = "Music Volume" horizontal_alignment = 1 size_flags_horizontal = 4 [node name="MusicVolumeGroup" type="HBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox"] layout_mode = 2 size_flags_horizontal = 4 theme_override_constants/separation = 12 alignment = 1 custom_minimum_size = Vector2(0, 40) [node name="MusicVolumeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox/MusicVolumeGroup"] layout_mode = 2 min_value = 0.0 max_value = 1.0 step = 0.01 size_flags_horizontal = 3 custom_minimum_size = Vector2(320, 0) [node name="MusicVolumeValue" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox/MusicVolumeGroup"] layout_mode = 2 text = "70%" size_flags_horizontal = 1 horizontal_alignment = 1 custom_minimum_size = Vector2(60, 0) [node name="MusicMuteCheckBox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox/MusicVolumeGroup"] layout_mode = 2 text = "Mute" size_flags_horizontal = 1 [node name="SfxVolumeLabel" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox"] layout_mode = 2 text = "Menu SFX Volume" horizontal_alignment = 1 size_flags_horizontal = 4 [node name="SfxVolumeGroup" type="HBoxContainer" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox"] layout_mode = 2 size_flags_horizontal = 4 theme_override_constants/separation = 12 alignment = 1 custom_minimum_size = Vector2(0, 40) [node name="SfxVolumeSlider" type="HSlider" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox/SfxVolumeGroup"] layout_mode = 2 min_value = 0.0 max_value = 1.0 step = 0.01 size_flags_horizontal = 3 custom_minimum_size = Vector2(320, 0) [node name="SfxVolumeValue" type="Label" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox/SfxVolumeGroup"] layout_mode = 2 text = "70%" size_flags_horizontal = 1 horizontal_alignment = 1 custom_minimum_size = Vector2(60, 0) [node name="SfxMuteCheckBox" type="CheckBox" parent="MarginContainer/VBoxContainer/TabContainer/Audio/AudioVBox/SfxVolumeGroup"] layout_mode = 2 text = "Mute" size_flags_horizontal = 1 [node name="Dev" type="Control" parent="MarginContainer/VBoxContainer/TabContainer"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2