[gd_scene load_steps=4 format=3 uid="uid://byvjsvavbg5xe"] [ext_resource type="Theme" uid="uid://doq7ay6f7dgfo" path="res://src/ui/menus/menu.theme" id="1_b4t8b"] [ext_resource type="Script" uid="uid://cllx5glqld8wn" path="res://src/ui/menus/pause_menu/pause_menu.gd" id="1_rd0j2"] [sub_resource type="Resource" id="Resource_6sp1a"] metadata/__load_path__ = "res://src/ui/menus/settings_menu/settings_menu.tscn" [node name="PauseMenu" 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 theme = ExtResource("1_b4t8b") script = ExtResource("1_rd0j2") settings_scene = SubResource("Resource_6sp1a") [node name="Shade" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.627451) [node name="MenuList" type="VBoxContainer" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -127.0 offset_top = -147.0 offset_right = 127.0 offset_bottom = 147.0 grow_horizontal = 2 grow_vertical = 2 alignment = 1 [node name="TitleLabel" type="Label" parent="MenuList"] layout_mode = 2 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 8 theme_override_font_sizes/font_size = 72 text = "GRUNK" horizontal_alignment = 1 [node name="PauseLabel" type="Label" parent="MenuList"] layout_mode = 2 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 8 text = "paused" horizontal_alignment = 1 [node name="HSeparator" type="HSeparator" parent="MenuList"] layout_mode = 2 theme_override_constants/separation = 24 [node name="VBoxContainer" type="VBoxContainer" parent="MenuList"] layout_mode = 2 size_flags_horizontal = 4 alignment = 1 [node name="ResumeButton" type="Button" parent="MenuList/VBoxContainer"] layout_mode = 2 text = "Resume" [node name="SettingsButton" type="Button" parent="MenuList/VBoxContainer"] layout_mode = 2 text = "Settings" [node name="EndGameButton" type="Button" parent="MenuList/VBoxContainer"] layout_mode = 2 theme_type_variation = &"DangerButton" text = "Quit to Title" [node name="QuitButton" type="Button" parent="MenuList/VBoxContainer"] layout_mode = 2 theme_type_variation = &"DangerButton" text = "Quit to Desktop" [node name="SettingsContainer" type="MarginContainer" parent="."] unique_name_in_owner = true layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -640.0 offset_top = -360.0 offset_right = 640.0 offset_bottom = 360.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="QuitConfirm" type="CenterContainer" parent="."] unique_name_in_owner = true visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="PanelContainer" type="PanelContainer" parent="QuitConfirm"] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="QuitConfirm/PanelContainer"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 16 [node name="VBoxContainer" type="VBoxContainer" parent="QuitConfirm/PanelContainer/MarginContainer"] layout_mode = 2 theme_override_constants/separation = 16 [node name="Label" type="Label" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "End the game and return to the title screen? Unsaved progress will be lost." horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 16 [node name="CancelButton" type="Button" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Cancel" [node name="ConfirmQuitButton" type="Button" parent="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_type_variation = &"DangerButton" text = "Quit" [node name="EndGameConfirm" type="CenterContainer" parent="."] unique_name_in_owner = true visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="PanelContainer" type="PanelContainer" parent="EndGameConfirm"] layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="EndGameConfirm/PanelContainer"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 16 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 16 [node name="VBoxContainer" type="VBoxContainer" parent="EndGameConfirm/PanelContainer/MarginContainer"] layout_mode = 2 theme_override_constants/separation = 16 [node name="Label" type="Label" parent="EndGameConfirm/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "End the game and return to the desktop? Unsaved progress will be lost." horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="EndGameConfirm/PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 16 [node name="CancelButton" type="Button" parent="EndGameConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Cancel" [node name="ConfirmEndGameButton" type="Button" parent="EndGameConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_type_variation = &"DangerButton" text = "Quit" [connection signal="pressed" from="MenuList/VBoxContainer/ResumeButton" to="." method="resume"] [connection signal="pressed" from="MenuList/VBoxContainer/SettingsButton" to="." method="settings"] [connection signal="pressed" from="MenuList/VBoxContainer/EndGameButton" to="." method="end_game"] [connection signal="pressed" from="MenuList/VBoxContainer/QuitButton" to="." method="quit"] [connection signal="pressed" from="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/CancelButton" to="." method="cancel_quit"] [connection signal="pressed" from="QuitConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/ConfirmQuitButton" to="." method="confirm_quit"] [connection signal="pressed" from="EndGameConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/CancelButton" to="." method="cancel_end_game"] [connection signal="pressed" from="EndGameConfirm/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/ConfirmEndGameButton" to="." method="confirm_end_game"]