[gd_scene load_steps=10 format=3 uid="uid://n57lpheiw46o"] [ext_resource type="Script" path="res://scripts/pause_menu.gd" id="1_gc3x0"] [ext_resource type="Texture2D" uid="uid://crisuyqwsl4hh" path="res://assets/sprites/option_bg.png" id="2_2q27u"] [ext_resource type="Texture2D" uid="uid://duef85dj76ur1" path="res://assets/sprites/options_bg.png" id="3_gkg4m"] [ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="4_ua15r"] [ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="5_idb2h"] [ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="6_4kymy"] [ext_resource type="PackedScene" uid="uid://b48bk4r45bdxk" path="res://scenes/options_menu.tscn" id="8_i775h"] [ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="8_qqgpl"] [ext_resource type="Texture2D" uid="uid://bqluqxxg57jj" path="res://assets/sprites/logo_text.png" id="9_aflw5"] [node name="Pause 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_gc3x0") [node name="game_dim" type="Sprite2D" parent="."] modulate = Color(1, 1, 1, 0.584314) position = Vector2(318.25, 179.5) scale = Vector2(21.45, 18.05) texture = ExtResource("2_2q27u") [node name="options_background" type="Sprite2D" parent="."] position = Vector2(124, 180.499) scale = Vector2(1.52, 1.06944) texture = ExtResource("3_gkg4m") [node name="LogoText" type="Sprite2D" parent="."] position = Vector2(124, 80) scale = Vector2(0.311247, 0.325921) texture = ExtResource("9_aflw5") [node name="Resume" type="TextureButton" parent="."] layout_mode = 0 offset_left = 56.0 offset_top = 144.0 offset_right = 194.0 offset_bottom = 177.0 texture_normal = ExtResource("4_ua15r") texture_pressed = ExtResource("5_idb2h") texture_hover = ExtResource("6_4kymy") ignore_texture_size = true stretch_mode = 0 [node name="Rsm" type="Label" parent="Resume"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 137.0 offset_bottom = 32.0 text = "Resume" label_settings = ExtResource("8_qqgpl") horizontal_alignment = 1 vertical_alignment = 1 [node name="Options" type="TextureButton" parent="."] layout_mode = 0 offset_left = 56.0 offset_top = 184.0 offset_right = 194.0 offset_bottom = 217.0 texture_normal = ExtResource("4_ua15r") texture_pressed = ExtResource("5_idb2h") texture_hover = ExtResource("6_4kymy") ignore_texture_size = true stretch_mode = 0 [node name="Opts" type="Label" parent="Options"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 137.0 offset_bottom = 32.0 text = "Options " label_settings = ExtResource("8_qqgpl") horizontal_alignment = 1 vertical_alignment = 1 [node name="Exit to Levels Map" type="TextureButton" parent="."] layout_mode = 0 offset_left = 56.0 offset_top = 224.0 offset_right = 194.0 offset_bottom = 257.0 texture_normal = ExtResource("4_ua15r") texture_pressed = ExtResource("5_idb2h") texture_hover = ExtResource("6_4kymy") ignore_texture_size = true stretch_mode = 0 [node name="ext1" type="Label" parent="Exit to Levels Map"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 137.0 offset_bottom = 32.0 text = "Exit to World Map" label_settings = ExtResource("8_qqgpl") horizontal_alignment = 1 vertical_alignment = 1 [node name="Exit to Main Menu" type="TextureButton" parent="."] layout_mode = 0 offset_left = 56.0 offset_top = 264.0 offset_right = 194.0 offset_bottom = 297.0 texture_normal = ExtResource("4_ua15r") texture_pressed = ExtResource("5_idb2h") texture_hover = ExtResource("6_4kymy") ignore_texture_size = true stretch_mode = 0 [node name="ext2" type="Label" parent="Exit to Main Menu"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 137.0 offset_bottom = 32.0 text = "Exit to Main menu" label_settings = ExtResource("8_qqgpl") horizontal_alignment = 1 vertical_alignment = 1 [node name="Options Menu" parent="." instance=ExtResource("8_i775h")] visible = false layout_mode = 1 [connection signal="pressed" from="Resume" to="." method="_on_resume_pressed"] [connection signal="pressed" from="Resume" to="." method="_on_back_pressed"] [connection signal="pressed" from="Options" to="." method="_on_options_pressed"] [connection signal="pressed" from="Options" to="." method="_on_back_pressed"] [connection signal="pressed" from="Exit to Levels Map" to="." method="_on_exit_to_levels_map_pressed"] [connection signal="pressed" from="Exit to Levels Map" to="." method="_on_resume_pressed"] [connection signal="pressed" from="Exit to Levels Map" to="." method="_on_back_pressed"] [connection signal="pressed" from="Exit to Main Menu" to="." method="_on_resume_pressed"] [connection signal="pressed" from="Exit to Main Menu" to="." method="_on_exit_to_main_menu_pressed"] [connection signal="pressed" from="Exit to Main Menu" to="." method="_on_back_pressed"]