[gd_scene load_steps=36 format=3 uid="uid://b48bk4r45bdxk"] [ext_resource type="Script" path="res://scripts/options_menu.gd" id="1_6deg7"] [ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_ftbx8"] [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="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="7_kwm08"] [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_6vef0"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rgp8m"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0b7f3"] bg_color = Color(1, 1, 1, 0.298039) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kmdy2"] draw_center = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bqtdn"] draw_center = false [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mr0ir"] 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_6vef0") PopupMenu/styles/embedded_unfocused_border = SubResource("StyleBoxFlat_rgp8m") PopupMenu/styles/hover = SubResource("StyleBoxFlat_0b7f3") PopupMenu/styles/labeled_separator_left = SubResource("StyleBoxFlat_kmdy2") PopupMenu/styles/labeled_separator_right = SubResource("StyleBoxFlat_bqtdn") PopupMenu/styles/panel = SubResource("StyleBoxTexture_mr0ir") 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") [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_2nt2e"] texture = ExtResource("15_8sjp5") [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sl2e4"] texture = ExtResource("15_v883t") [node name="Options Menu" type="Control"] 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="background" type="Sprite2D" parent="."] position = Vector2(320, 180) scale = Vector2(1.025, 1.04444) texture = ExtResource("2_ftbx8") [node name="options_background" type="Sprite2D" parent="."] position = Vector2(101.5, 184) scale = Vector2(1.87, 1.06944) texture = ExtResource("3_ih0b6") [node name="Back" type="TextureButton" parent="."] layout_mode = 2 offset_left = 16.0 offset_top = 8.0 offset_right = 154.0 offset_bottom = 41.0 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("7_kwm08") horizontal_alignment = 1 vertical_alignment = 1 [node name="Volume" type="HSlider" parent="."] layout_mode = 0 offset_left = 88.0 offset_top = 80.0 offset_right = 182.0 offset_bottom = 105.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 = 100.0 [node name="Vol" type="Label" parent="."] layout_mode = 0 offset_left = 24.0 offset_top = 80.0 offset_right = 62.0 offset_bottom = 104.0 text = "Volume " label_settings = ExtResource("15_7ia0x") vertical_alignment = 1 [node name="Mute" type="CheckButton" parent="."] layout_mode = 0 offset_left = 82.0 offset_top = 107.0 offset_right = 126.0 offset_bottom = 131.0 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 = 88.0 offset_top = 132.0 offset_right = 168.0 offset_bottom = 156.0 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"] 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="."] offset_left = 88.0 offset_top = 155.0 offset_right = 132.0 offset_bottom = 179.0 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="."] offset_left = 24.0 offset_top = 155.0 offset_right = 80.0 offset_bottom = 179.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="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_fullscreen_toggled"] [connection signal="toggled" from="Fullscreen" to="." method="_on_mute_toggled"]