[gd_scene load_steps=34 format=3 uid="uid://b48bk4r45bdxk"] [ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] [ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="3_1hutp"] [ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_ih0b6"] [ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="4_u3ms3"] [ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="5_2d15i"] [ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="6_1cuh6"] [ext_resource type="Texture2D" uid="uid://chyuwtdq83ist" path="res://assets/sprites/buttons/grabber.png" id="6_3006i"] [ext_resource type="Texture2D" uid="uid://cp440sw0lnw2o" path="res://assets/sprites/buttons/grabber_pressed.png" id="7_1kary"] [ext_resource type="Texture2D" uid="uid://blu2a62eqigx0" path="res://assets/sprites/buttons/slider.png" id="8_3cmui"] [ext_resource type="Texture2D" uid="uid://cr5hxvf0lwmlo" path="res://assets/sprites/buttons/switch_on.png" id="10_kx3br"] [ext_resource type="Texture2D" uid="uid://dvvvgj2fqslrl" path="res://assets/sprites/buttons/switch_off.png" id="11_ws4y6"] [ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="15_7ia0x"] [ext_resource type="Texture2D" uid="uid://cdtfefdk87lhu" path="res://assets/sprites/buttons/option_button_pressed.png" id="15_8sjp5"] [ext_resource type="Texture2D" uid="uid://b5s8uf6xblnpu" path="res://assets/sprites/buttons/checkbox_radio_pressed.png" id="15_fck8p"] [ext_resource type="Texture2D" uid="uid://cb073tsxlhw3x" path="res://assets/sprites/buttons/arrow.png" id="15_qecsk"] [ext_resource type="Texture2D" uid="uid://d3s2ewvf0kjq8" path="res://assets/sprites/buttons/option_button.png" id="15_v883t"] [ext_resource type="Texture2D" uid="uid://c3sysm0b6k2w1" path="res://assets/sprites/buttons/checkbox.png" id="16_4ye5l"] [ext_resource type="Texture2D" uid="uid://cmeynqpvrchdi" path="res://assets/sprites/buttons/option_button_bg.png" id="17_qdb7h"] [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f88mj"] texture = ExtResource("8_3cmui") texture_margin_top = 16.0 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fheit"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_50bg4"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3h3vd"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nd3lo"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w861x"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pmwpo"] bg_color = Color(1, 1, 1, 0.298039) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mk78q"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2l0l5"] draw_center = false [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_wor86"] texture = ExtResource("17_qdb7h") [sub_resource type="Theme" id="Theme_k2s72"] default_font = ExtResource("6_1cuh6") default_font_size = 12 PopupMenu/icons/radio_checked = ExtResource("15_fck8p") PopupMenu/icons/radio_unchecked = ExtResource("16_4ye5l") PopupMenu/styles/embedded_border = SubResource("StyleBoxFlat_nd3lo") PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_w861x") PopupMenu/styles/hover = SubResource("StyleBoxFlat_pmwpo") PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_mk78q") PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_2l0l5") PopupMenu/styles/panel = SubResource("StyleBoxTexture_wor86") PopupMenu/styles/separator = null [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ttkg"] draw_center = false [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_muwuk"] texture = ExtResource("15_v883t") texture_margin_left = 6.0 [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] texture = ExtResource("15_8sjp5") texture_margin_left = 6.0 [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] texture = ExtResource("15_v883t") texture_margin_left = 6.0 [node name="Options Menu" type="Control"] process_mode = 3 layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_6deg7") [node name="options_background" type="Sprite2D" parent="."] position = Vector2(156, 180.499) scale = Vector2(2.16, 1.06944) texture = ExtResource("3_ih0b6") [node name="Back" type="TextureButton" parent="."] layout_mode = 2 offset_left = 56.0 offset_top = 8.49921 offset_right = 194.0 offset_bottom = 41.4992 texture_normal = ExtResource("3_1hutp") texture_pressed = ExtResource("4_u3ms3") texture_hover = ExtResource("5_2d15i") ignore_texture_size = true stretch_mode = 0 [node name="Bck" type="Label" parent="Back"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 137.0 offset_bottom = 32.0 text = "Back" label_settings = ExtResource("15_7ia0x") horizontal_alignment = 1 vertical_alignment = 1 [node name="Volume" type="HSlider" parent="."] layout_mode = 0 offset_left = 128.0 offset_top = 80.4992 offset_right = 222.0 offset_bottom = 105.499 theme_override_icons/grabber = ExtResource("6_3006i") theme_override_icons/grabber_highlight = ExtResource("7_1kary") theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") value = 20.0 [node name="Vol" type="Label" parent="Volume"] layout_mode = 0 offset_left = -64.0 offset_right = -26.0 offset_bottom = 23.9998 text = "Master" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="vol_percentage" type="Label" parent="Volume"] layout_mode = 0 offset_left = 104.0 offset_top = -0.499199 offset_right = 144.0 offset_bottom = 23.5008 text = "50%" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="Music" type="HSlider" parent="."] layout_mode = 0 offset_left = 128.0 offset_top = 104.0 offset_right = 222.0 offset_bottom = 129.0 theme_override_icons/grabber = ExtResource("6_3006i") theme_override_icons/grabber_highlight = ExtResource("7_1kary") theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") value = 20.0 [node name="Mus_vol" type="Label" parent="Music"] layout_mode = 0 offset_left = -64.0 offset_right = -26.0 offset_bottom = 23.9998 text = "Music" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="music_percentage" type="Label" parent="Music"] layout_mode = 0 offset_left = 104.0 offset_right = 144.0 offset_bottom = 24.0 text = "50%" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="SFX_vol" type="HSlider" parent="."] layout_mode = 0 offset_left = 128.0 offset_top = 128.0 offset_right = 222.0 offset_bottom = 153.0 theme_override_icons/grabber = ExtResource("6_3006i") theme_override_icons/grabber_highlight = ExtResource("7_1kary") theme_override_styles/slider = SubResource("StyleBoxTexture_f88mj") theme_override_styles/grabber_area = SubResource("StyleBoxFlat_fheit") theme_override_styles/grabber_area_highlight = SubResource("StyleBoxFlat_50bg4") value = 20.0 [node name="SFX_vol" type="Label" parent="SFX_vol"] layout_mode = 0 offset_left = -64.0 offset_right = -26.0 offset_bottom = 23.9998 text = "SFX" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="sfx_percentage" type="Label" parent="SFX_vol"] layout_mode = 0 offset_left = 104.0 offset_top = -0.499199 offset_right = 144.0 offset_bottom = 23.5008 text = "50%" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="Mute" type="CheckButton" parent="."] layout_mode = 0 offset_left = 122.0 offset_top = 151.499 offset_right = 166.0 offset_bottom = 175.499 theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") theme_override_icons/checked = ExtResource("10_kx3br") theme_override_icons/unchecked = ExtResource("11_ws4y6") [node name="Mt" type="Label" parent="Mute"] layout_mode = 0 offset_left = -58.0 offset_right = -26.0 offset_bottom = 24.0 text = "Mute" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="Resolution" type="OptionButton" parent="."] layout_mode = 0 offset_left = 128.0 offset_top = 176.499 offset_right = 208.0 offset_bottom = 200.499 theme = SubResource("Theme_k2s72") theme_override_colors/font_hover_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) theme_override_colors/font_hover_color = Color(0.560784, 0.337255, 0.623529, 1) theme_override_colors/font_pressed_color = Color(0.560784, 0.337255, 0.623529, 1) theme_override_colors/font_focus_color = Color(0.560784, 0.337255, 0.623529, 1) theme_override_colors/font_color = Color(0.560784, 0.337255, 0.623529, 1) theme_override_styles/focus = SubResource("StyleBoxFlat_1ttkg") theme_override_styles/hover = SubResource("StyleBoxTexture_muwuk") theme_override_styles/pressed = SubResource("StyleBoxTexture_2nt2e") theme_override_styles/normal = SubResource("StyleBoxTexture_sl2e4") theme_override_icons/arrow = ExtResource("15_qecsk") alignment = 1 selected = 2 item_count = 4 popup/item_0/text = "1920x1080" popup/item_1/text = "1600x900" popup/item_1/id = 1 popup/item_2/text = "1280x720" popup/item_2/id = 2 popup/item_3/text = "640x360" popup/item_3/id = 3 [node name="Res" type="Label" parent="Resolution"] layout_mode = 0 offset_left = -64.0 offset_top = -1.0 offset_right = -8.0 offset_bottom = 23.0 text = "Resolution" label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="Fullscreen" type="CheckButton" parent="."] layout_mode = 0 offset_left = 128.0 offset_top = 199.499 offset_right = 172.0 offset_bottom = 223.499 theme_override_styles/focus = SubResource("StyleBoxFlat_3h3vd") theme_override_icons/checked = ExtResource("10_kx3br") theme_override_icons/unchecked = ExtResource("11_ws4y6") [node name="fscreen" type="Label" parent="Fullscreen"] layout_mode = 0 offset_left = -64.0 offset_right = -8.0 offset_bottom = 24.0 text = "Fullscreen " label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [connection signal="pressed" from="Back" to="." method="_on_back_pressed"] [connection signal="value_changed" from="Volume" to="." method="_on_volume_value_changed"] [connection signal="value_changed" from="Music" to="." method="_on_music_value_changed"] [connection signal="value_changed" from="SFX_vol" to="." method="_on_sfx_vol_value_changed"] [connection signal="toggled" from="Mute" to="." method="_on_mute_toggled"] [connection signal="item_selected" from="Resolution" to="." method="_on_resolution_item_selected"] [connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"] [connection signal="toggled" from="Fullscreen" to="." method="_on_fullscreen_toggled"]