[gd_scene load_steps=3 format=2] [ext_resource path="res://scripts/optionsmenu.gd" type="Script" id=2] [ext_resource path="res://theme_data/interface_theme.tres" type="Theme" id=3] [node name="OptionsMenu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 3 ) script = ExtResource( 2 ) [node name="Control" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 [node name="Panel" type="Panel" parent="Control"] anchor_right = 1.0 anchor_bottom = 1.0 [node name="VBoxContainer" type="VBoxContainer" parent="Control"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -164.0 offset_top = -49.0 offset_right = 164.0 offset_bottom = 49.0 scale = Vector2( 0.5, 0.5 ) pivot_offset = Vector2( 164, 49 ) [node name="GridContainer" type="GridContainer" parent="Control/VBoxContainer"] offset_right = 328.0 offset_bottom = 76.0 columns = 2 [node name="FullscreenLabel" type="Label" parent="Control/VBoxContainer/GridContainer"] offset_right = 124.0 offset_bottom = 16.0 text = "Fullscreen" [node name="FullscreenCheckButton" type="CheckButton" parent="Control/VBoxContainer/GridContainer"] offset_left = 296.0 offset_right = 328.0 offset_bottom = 16.0 size_flags_horizontal = 10 [node name="VolumeMasterLabel" type="Label" parent="Control/VBoxContainer/GridContainer"] offset_top = 20.0 offset_right = 104.0 offset_bottom = 36.0 size_flags_horizontal = 2 text = "Master Volume" [node name="VolumeMasterContainer" type="HBoxContainer" parent="Control/VBoxContainer/GridContainer"] offset_left = 128.0 offset_top = 20.0 offset_right = 328.0 offset_bottom = 36.0 custom_minimum_size = Vector2( 200, 0 ) [node name="VolumeMasterSlider" type="HSlider" parent="Control/VBoxContainer/GridContainer/VolumeMasterContainer"] offset_right = 150.0 offset_bottom = 16.0 custom_minimum_size = Vector2( 150, 0 ) [node name="VolumeMasterValue" type="Label" parent="Control/VBoxContainer/GridContainer/VolumeMasterContainer"] offset_left = 176.0 offset_right = 200.0 offset_bottom = 16.0 size_flags_horizontal = 10 text = "50%" [node name="VolumeMusicLabel" type="Label" parent="Control/VBoxContainer/GridContainer"] offset_top = 40.0 offset_right = 124.0 offset_bottom = 56.0 text = "Music Volume" [node name="VolumeMusicContainer" type="HBoxContainer" parent="Control/VBoxContainer/GridContainer"] offset_left = 128.0 offset_top = 40.0 offset_right = 328.0 offset_bottom = 56.0 [node name="VolumeMusicSlider" type="HSlider" parent="Control/VBoxContainer/GridContainer/VolumeMusicContainer"] offset_right = 150.0 offset_bottom = 16.0 custom_minimum_size = Vector2( 150, 0 ) [node name="VolumeMusicValue" type="Label" parent="Control/VBoxContainer/GridContainer/VolumeMusicContainer"] offset_left = 176.0 offset_right = 200.0 offset_bottom = 16.0 size_flags_horizontal = 10 text = "50%" [node name="VolumeSFXLabel" type="Label" parent="Control/VBoxContainer/GridContainer"] offset_top = 60.0 offset_right = 124.0 offset_bottom = 76.0 text = "SFX Volume" [node name="VolumeSFXContainer" type="HBoxContainer" parent="Control/VBoxContainer/GridContainer"] offset_left = 128.0 offset_top = 60.0 offset_right = 328.0 offset_bottom = 76.0 [node name="VolumeSFXSlider" type="HSlider" parent="Control/VBoxContainer/GridContainer/VolumeSFXContainer"] offset_right = 150.0 offset_bottom = 16.0 custom_minimum_size = Vector2( 150, 0 ) [node name="VolumeSFXValue" type="Label" parent="Control/VBoxContainer/GridContainer/VolumeSFXContainer"] offset_left = 176.0 offset_right = 200.0 offset_bottom = 16.0 size_flags_horizontal = 10 text = "50%" [node name="ReturnButton" type="Button" parent="Control/VBoxContainer"] offset_top = 80.0 offset_right = 328.0 offset_bottom = 98.0 text = "Return" [connection signal="toggled" from="Control/VBoxContainer/GridContainer/FullscreenCheckButton" to="." method="_on_FullscreenCheckButton_toggled"] [connection signal="value_changed" from="Control/VBoxContainer/GridContainer/VolumeMasterContainer/VolumeMasterSlider" to="." method="_on_VolumeMasterSlider_value_changed"] [connection signal="value_changed" from="Control/VBoxContainer/GridContainer/VolumeMusicContainer/VolumeMusicSlider" to="." method="_on_VolumeMusicSlider_value_changed"] [connection signal="value_changed" from="Control/VBoxContainer/GridContainer/VolumeSFXContainer/VolumeSFXSlider" to="." method="_on_VolumeSFXSlider_value_changed"] [connection signal="pressed" from="Control/VBoxContainer/ReturnButton" to="." method="_on_ReturnButton_pressed"]