[gd_scene load_steps=5 format=2] [ext_resource path="res://assets/blackbackground.png" type="Texture" id=1] [ext_resource path="res://assets/ui_theme.tres" type="Theme" id=2] [ext_resource path="res://screens/PauseScreen.gd" type="Script" id=3] [ext_resource path="res://assets/ui_theme_PauseScreen.tres" type="Theme" id=4] [node name="PauseScreen" type="Control"] pause_mode = 2 anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 1 theme = ExtResource( 4 ) script = ExtResource( 3 ) [node name="pauseBackground" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_right = 56.0 margin_bottom = 480.0 texture = ExtResource( 1 ) stretch_mode = 1 [node name="CenterContainer" type="CenterContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 1 theme = ExtResource( 2 ) [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] margin_left = 408.0 margin_top = 193.0 margin_right = 616.0 margin_bottom = 407.0 theme = ExtResource( 4 ) custom_constants/separation = 10 [node name="Spacer" type="Control" parent="CenterContainer/VBoxContainer"] margin_right = 208.0 margin_bottom = 30.0 rect_min_size = Vector2( 1, 30 ) mouse_filter = 1 [node name="ResumeButton" type="Button" parent="CenterContainer/VBoxContainer"] margin_top = 40.0 margin_right = 208.0 margin_bottom = 76.0 rect_min_size = Vector2( 208, 36 ) focus_neighbour_top = NodePath("../QuitButton") focus_neighbour_bottom = NodePath("../MainMenuButton") mouse_filter = 1 text = "Resume" [node name="MainMenuButton" type="Button" parent="CenterContainer/VBoxContainer"] margin_top = 86.0 margin_right = 208.0 margin_bottom = 122.0 rect_min_size = Vector2( 208, 36 ) focus_neighbour_top = NodePath("../ResumeButton") focus_neighbour_bottom = NodePath("../ControlsButton") mouse_filter = 1 text = "Main Menu" [node name="ControlsButton" type="Button" parent="CenterContainer/VBoxContainer"] margin_top = 132.0 margin_right = 208.0 margin_bottom = 168.0 rect_min_size = Vector2( 208, 36 ) focus_neighbour_top = NodePath("../MainMenuButton") focus_neighbour_bottom = NodePath("../QuitButton") mouse_filter = 1 text = "Controls" [node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"] margin_top = 178.0 margin_right = 208.0 margin_bottom = 214.0 rect_min_size = Vector2( 208, 36 ) focus_neighbour_top = NodePath("../ControlsButton") focus_neighbour_bottom = NodePath("../ResumeButton") mouse_filter = 1 text = "Quit" [connection signal="pressed" from="CenterContainer/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/MainMenuButton" to="." method="_on_MainMenuButton_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/ControlsButton" to="." method="_on_ControlsButton_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]