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-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="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
stretch_mode = 1
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
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-28 20:24:20 -07:00
|
|
|
margin_left = 354.0
|
|
|
|
margin_top = 165.0
|
|
|
|
margin_right = 669.0
|
|
|
|
margin_bottom = 435.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-28 20:24:20 -07:00
|
|
|
margin_right = 315.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 )
|
|
|
|
|
|
|
|
[node name="ResumeButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 40.0
|
2022-12-28 20:24:20 -07:00
|
|
|
margin_right = 315.0
|
|
|
|
margin_bottom = 90.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-20 12:16:37 -07:00
|
|
|
text = "Resume"
|
|
|
|
|
|
|
|
[node name="MainMenuButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-28 20:24:20 -07:00
|
|
|
margin_top = 100.0
|
|
|
|
margin_right = 315.0
|
|
|
|
margin_bottom = 150.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-20 12:16:37 -07:00
|
|
|
text = "Main Menu"
|
|
|
|
|
|
|
|
[node name="ControlsButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-28 20:24:20 -07:00
|
|
|
margin_top = 160.0
|
|
|
|
margin_right = 315.0
|
|
|
|
margin_bottom = 210.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
2022-12-20 12:16:37 -07:00
|
|
|
text = "Controls"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
2022-12-28 20:24:20 -07:00
|
|
|
margin_top = 220.0
|
|
|
|
margin_right = 315.0
|
|
|
|
margin_bottom = 270.0
|
2022-12-20 14:50:01 -07:00
|
|
|
rect_min_size = Vector2( 208, 36 )
|
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"]
|