[gd_scene load_steps=4 format=3 uid="uid://cvdf5q8evdylc"]

[ext_resource type="Theme" uid="uid://d01fm68pwgnvc" path="res://ui/default_theme.tres" id="1_5uhqc"]
[ext_resource type="Script" uid="uid://b4i745jtfepbh" path="res://menus/options_menu.gd" id="2_aogii"]

[sub_resource type="GDScript" id="GDScript_xwmny"]
script/source = "extends Button


func _on_pressed():
	var scene = load(\"res://scenes/main_menu.tscn\")
	global.goto_scene(scene)
"

[node name="OptionsMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_5uhqc")
script = ExtResource("2_aogii")

[node name="Lab_Options" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -30.0
offset_top = 10.0
offset_right = 32.0
offset_bottom = 30.0
grow_horizontal = 2
text = "Options"
horizontal_alignment = 1

[node name="Btn_Confirm" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -87.0
offset_top = -28.0
offset_right = -8.0
offset_bottom = -8.0
grow_horizontal = 0
grow_vertical = 0
text = "Confirm"

[node name="Btn_Cancel" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -158.0
offset_top = -28.0
offset_right = -87.0
offset_bottom = -8.0
grow_horizontal = 0
grow_vertical = 0
text = "Cancel"
script = SubResource("GDScript_xwmny")

[node name="GridContainer" type="GridContainer" parent="."]
layout_mode = 0
offset_left = 10.0
offset_top = 40.0
offset_right = 310.0
offset_bottom = 212.0
columns = 2

[node name="Lab_MusicVolume" type="Label" parent="GridContainer"]
layout_mode = 2
text = "Music Volume"

[node name="Slider_MusicVolume" type="HSlider" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
max_value = 1.0
step = 0.1
value = 0.5

[node name="Lab_SFXVolume" type="Label" parent="GridContainer"]
layout_mode = 2
text = "SFX Volume"

[node name="Slider_SFXVolume" type="HSlider" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
max_value = 1.0
step = 0.1
value = 0.5

[connection signal="pressed" from="Btn_Cancel" to="Btn_Cancel" method="_on_pressed"]
