2022-12-20 14:50:01 -07:00
|
|
|
[gd_scene load_steps=5 format=2]
|
2022-12-20 12:16:37 -07:00
|
|
|
|
|
|
|
[ext_resource path="res://assets/blackbackground.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=2]
|
2022-12-20 13:27:51 -07:00
|
|
|
[ext_resource path="res://screens/PauseScreen.gd" type="Script" id=3]
|
2022-12-20 14:50:01 -07:00
|
|
|
[ext_resource path="res://assets/ui_theme_PauseScreen.tres" type="Theme" id=4]
|
2022-12-20 12:16:37 -07:00
|
|
|
|
|
|
|
[node name="PauseScreen" type="Control"]
|
|
|
|
pause_mode = 2
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 14:50:01 -07:00
|
|
|
theme = ExtResource( 4 )
|
2022-12-20 12:16:37 -07:00
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="pauseBackground" type="TextureRect" parent="."]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-20 12:16:37 -07:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-12-29 16:03:56 -07:00
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 480.0
|
2022-12-20 12:16:37 -07:00
|
|
|
texture = ExtResource( 1 )
|
|
|
|
stretch_mode = 1
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
2022-12-28 23:17:44 -07:00
|
|
|
pause_mode = 2
|
2022-12-20 12:16:37 -07:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 14:50:01 -07:00
|
|
|
theme = ExtResource( 2 )
|
2022-12-20 12:16:37 -07:00
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-28 23:17:44 -07:00
|
|
|
margin_left = 408.0
|
|
|
|
margin_top = 193.0
|
|
|
|
margin_right = 616.0
|
|
|
|
margin_bottom = 407.0
|
2022-12-20 14:50:01 -07:00
|
|
|
theme = ExtResource( 4 )
|
2022-12-20 12:16:37 -07:00
|
|
|
custom_constants/separation = 10
|
|
|
|
|
|
|
|
[node name="Spacer" type="Control" parent="CenterContainer/VBoxContainer"]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-28 23:17:44 -07:00
|
|
|
margin_right = 208.0
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_bottom = 30.0
|
2022-12-20 12:16:37 -07:00
|
|
|
rect_min_size = Vector2( 1, 30 )
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 12:16:37 -07:00
|
|
|
|
|
|
|
[node name="ResumeButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 40.0
|
2022-12-28 23:17:44 -07:00
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 76.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 12:16:37 -07:00
|
|
|
text = "Resume"
|
|
|
|
|
|
|
|
[node name="MainMenuButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-28 23:17:44 -07:00
|
|
|
margin_top = 86.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 122.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 12:16:37 -07:00
|
|
|
text = "Main Menu"
|
|
|
|
|
|
|
|
[node name="ControlsButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-28 23:17:44 -07:00
|
|
|
margin_top = 132.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 168.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 12:16:37 -07:00
|
|
|
text = "Controls"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-29 00:38:09 -07:00
|
|
|
pause_mode = 2
|
2022-12-28 23:17:44 -07:00
|
|
|
margin_top = 178.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 214.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-29 00:38:09 -07:00
|
|
|
mouse_filter = 1
|
2022-12-20 12:16:37 -07:00
|
|
|
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"]
|