[gd_scene load_steps=11 format=2]

[ext_resource path="res://src/UserInterface/Screens/MainMenu/AudioSlider.gd" type="Script" id=1]
[ext_resource path="res://src/UserInterface/Buttons/MenuNavigationButton.gd" type="Script" id=2]
[ext_resource path="res://src/UserInterface/Screens/MainMenu/AudioMenu.gd" type="Script" id=3]
[ext_resource path="res://assets/environment/background/Spaceship-Wall-Menu.png" type="Texture" id=4]
[ext_resource path="res://assets/environment/background/starry-space.png" type="Texture" id=10]
[ext_resource path="res://assets/meta/montserrat_extrabold.otf" type="DynamicFontData" id=18]
[ext_resource path="res://assets/ui/sci-fi-godot-theme/sci-fi-theme.tres" type="Theme" id=20]

[sub_resource type="Gradient" id=15]
interpolation_mode = 2
offsets = PoolRealArray( 0, 0.797721 )
colors = PoolColorArray( 0, 0, 0, 0, 0, 0, 0, 0.419608 )

[sub_resource type="GradientTexture2D" id=17]
gradient = SubResource( 15 )
width = 640
height = 360
fill = 1
fill_from = Vector2( 0.5, 0.5 )
fill_to = Vector2( 1, 1 )

[sub_resource type="DynamicFont" id=16]
size = 42
font_data = ExtResource( 18 )

[node name="AudioMenu" type="Control"]
pause_mode = 1
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
input_pass_on_modal_close_click = false
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 20 )
script = ExtResource( 3 )

[node name="background" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 46.0
margin_bottom = 46.0
texture = ExtResource( 10 )
expand = true
stretch_mode = 1

[node name="background2" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 4 )
expand = true
stretch_mode = 1

[node name="GradientTexture" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = SubResource( 17 )
expand = true

[node name="Titel" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -170.0
margin_right = 170.0
margin_bottom = 52.0
grow_horizontal = 2
size_flags_horizontal = 0
size_flags_vertical = 0
custom_fonts/font = SubResource( 16 )
text = "Audio Menu"
align = 1
valign = 1

[node name="Panel" type="Panel" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -310.0
margin_top = -300.0
margin_right = 310.0
margin_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme = ExtResource( 20 )

[node name="Back" type="Button" parent="Panel"]
unique_name_in_owner = true
anchor_left = 0.5
anchor_top = 0.95
anchor_right = 0.5
anchor_bottom = 0.95
margin_left = -68.0
margin_top = -24.95
margin_right = 69.8
margin_bottom = 0.0499878
grow_horizontal = 2
grow_vertical = 2
rect_min_size = Vector2( 40, 20 )
input_pass_on_modal_close_click = false
size_flags_horizontal = 0
size_flags_vertical = 0
theme = ExtResource( 20 )
text = "Back"
script = ExtResource( 2 )
next_screen_path = "res://src/UserInterface/Screens/MainMenu/MainScreen.tscn"

[node name="KeymapViewer" type="VBoxContainer" parent="Panel"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -200.0
margin_top = -130.0
margin_right = 200.0
margin_bottom = 114.0
grow_horizontal = 2
grow_vertical = 2
custom_constants/separation = 40

[node name="Label" type="Label" parent="Panel/KeymapViewer"]
margin_right = 400.0
margin_bottom = 9.0
text = "Volume"
align = 1

[node name="HSplitContainer" type="GridContainer" parent="Panel/KeymapViewer"]
margin_top = 49.0
margin_right = 400.0
margin_bottom = 244.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
custom_constants/hseparation = 50
columns = 2

[node name="VBoxContainer" type="VBoxContainer" parent="Panel/KeymapViewer/HSplitContainer"]
margin_right = 57.0
margin_bottom = 195.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
alignment = 1

[node name="Label4" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer"]
margin_right = 57.0
margin_bottom = 45.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Master"
align = 1

[node name="Label" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer"]
margin_top = 49.0
margin_right = 57.0
margin_bottom = 95.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Music"
align = 1

[node name="Label2" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer"]
margin_top = 99.0
margin_right = 57.0
margin_bottom = 145.0
size_flags_vertical = 3
text = "Effects"
align = 1

[node name="Label3" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer"]
margin_top = 149.0
margin_right = 57.0
margin_bottom = 195.0
size_flags_vertical = 3
text = "UI"
align = 1

[node name="VBoxContainer2" type="VBoxContainer" parent="Panel/KeymapViewer/HSplitContainer"]
margin_left = 107.0
margin_right = 400.0
margin_bottom = 195.0
size_flags_horizontal = 7
size_flags_vertical = 3
alignment = 1

[node name="VBoxContainer" type="VBoxContainer" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2"]
margin_right = 293.0
margin_bottom = 45.0
size_flags_vertical = 3

[node name="MasterSlider" type="HSlider" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer"]
unique_name_in_owner = true
margin_right = 293.0
margin_bottom = 7.0
size_flags_vertical = 1
script = ExtResource( 1 )

[node name="Label" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer/MasterSlider"]
margin_top = 11.0
margin_right = 271.0
margin_bottom = 20.0
rect_scale = Vector2( 1.08059, 1 )
size_flags_horizontal = 3
size_flags_vertical = 3
text = "80%"
align = 1
valign = 1

[node name="VBoxContainer2" type="VBoxContainer" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2"]
margin_top = 49.0
margin_right = 293.0
margin_bottom = 56.0
size_flags_vertical = 2

[node name="HSlider" type="HSlider" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer2"]
margin_right = 293.0
margin_bottom = 7.0
size_flags_vertical = 2
script = ExtResource( 1 )
audio_bus = "Music"

[node name="Label" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer2/HSlider"]
margin_top = 11.0
margin_right = 293.0
margin_bottom = 20.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "80"
align = 1

[node name="VBoxContainer3" type="VBoxContainer" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2"]
margin_top = 99.0
margin_right = 293.0
margin_bottom = 145.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3

[node name="HSlider3" type="HSlider" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer3"]
margin_right = 293.0
margin_bottom = 7.0
size_flags_vertical = 1
script = ExtResource( 1 )
audio_bus = "Effects"

[node name="Label" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer3/HSlider3"]
margin_top = 11.0
margin_right = 292.0
margin_bottom = 20.0
text = "80"
align = 1

[node name="VBoxContainer4" type="VBoxContainer" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2"]
margin_top = 149.0
margin_right = 293.0
margin_bottom = 195.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3

[node name="HSlider3" type="HSlider" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer4"]
margin_right = 293.0
margin_bottom = 7.0
size_flags_vertical = 1
script = ExtResource( 1 )
audio_bus = "UI"

[node name="Label" type="Label" parent="Panel/KeymapViewer/HSplitContainer/VBoxContainer2/VBoxContainer4/HSlider3"]
margin_top = 11.0
margin_right = 293.0
margin_bottom = 20.0
text = "80"
align = 1

[connection signal="button_up" from="Panel/Back" to="." method="save"]
[connection signal="button_up" from="Panel/Back" to="Panel/Back" method="_on_button_up"]
