[gd_scene load_steps=6 format=2] [ext_resource path="res://game/ui/commons/pause_menu/pause_menu.gd" type="Script" id=1] [ext_resource path="res://game/ui/commons/fonts/caslonantique.tres" type="DynamicFont" id=2] [ext_resource path="res://addons/escoria-core/logo/escoria-logo-small.png" type="Texture" id=3] [ext_resource path="res://game/ui/commons/save/save_game.tscn" type="PackedScene" id=4] [ext_resource path="res://game/ui/commons/load/load_game.tscn" type="PackedScene" id=5] [node name="pause_menu" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="Panel" type="Panel" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_use_anchors_": false } [node name="TextureRect" type="TextureRect" parent="Panel"] anchor_left = 0.5 anchor_right = 0.5 margin_left = -308.0 margin_right = 308.0 margin_bottom = 236.0 texture = ExtResource( 3 ) __meta__ = { "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="Panel"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -127.8 margin_top = -80.62 margin_right = 127.8 margin_bottom = 80.62 custom_constants/separation = 10 __meta__ = { "_edit_use_anchors_": false } [node name="continue" type="Button" parent="Panel/VBoxContainer"] margin_right = 255.0 margin_bottom = 32.0 size_flags_vertical = 3 custom_fonts/font = ExtResource( 2 ) text = "Continue" __meta__ = { "_edit_use_anchors_": false } [node name="save_game" type="Button" parent="Panel/VBoxContainer"] margin_top = 42.0 margin_right = 255.0 margin_bottom = 75.0 size_flags_vertical = 3 custom_fonts/font = ExtResource( 2 ) text = "Save game" __meta__ = { "_edit_use_anchors_": false } [node name="load_game" type="Button" parent="Panel/VBoxContainer"] margin_top = 85.0 margin_right = 255.0 margin_bottom = 118.0 size_flags_vertical = 3 custom_fonts/font = ExtResource( 2 ) text = "Load game" __meta__ = { "_edit_use_anchors_": false } [node name="quit" type="Button" parent="Panel/VBoxContainer"] margin_top = 128.0 margin_right = 255.0 margin_bottom = 161.0 size_flags_vertical = 3 custom_fonts/font = ExtResource( 2 ) text = "Quit" __meta__ = { "_edit_use_anchors_": false } [node name="save_game" parent="." instance=ExtResource( 4 )] visible = false [node name="load_game" parent="." instance=ExtResource( 5 )] visible = false [connection signal="pressed" from="Panel/VBoxContainer/continue" to="." method="_on_continue_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/save_game" to="." method="_on_save_game_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/load_game" to="." method="_on_load_game_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/quit" to="." method="_on_quit_pressed"] [connection signal="back_button_pressed" from="save_game" to="." method="_on_save_game_back_button_pressed"] [connection signal="back_button_pressed" from="load_game" to="." method="_on_load_game_back_button_pressed"]