game over screen and stuff

This commit is contained in:
siembra
2026-02-14 15:35:27 -05:00
parent 3fc8153e9e
commit 2812c4211a
5 changed files with 151 additions and 19 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene format=3 uid="uid://dm6jp4gjboooc"]
[ext_resource type="Script" uid="uid://15e0tr7en3iq" path="res://scenes/menus/pause/pause.gd" id="1_8lsyj"]
[ext_resource type="Script" uid="uid://or8mcd735o0r" path="res://scenes/game/restart.gd" id="2_miayh"]
[ext_resource type="AudioStream" uid="uid://podscahsf0d4" path="res://assets/audio/sfx/MenuAccept.wav" id="2_y88h8"]
[node name="Pause" type="Control" unique_id=1227462733]
@@ -43,6 +44,14 @@ size_flags_vertical = 3
theme_override_font_sizes/font_size = 32
text = "Resume"
[node name="Restart" type="Button" parent="BoxContainer" unique_id=1217720724]
layout_mode = 2
size_flags_vertical = 3
theme_override_font_sizes/font_size = 32
text = "Restart
"
script = ExtResource("2_miayh")
[node name="Options" type="Button" parent="BoxContainer" unique_id=1573468039]
layout_mode = 2
size_flags_vertical = 3
@@ -61,5 +70,6 @@ stream = ExtResource("2_y88h8")
volume_db = -10.0
[connection signal="pressed" from="BoxContainer/Back" to="." method="_on_back_pressed"]
[connection signal="pressed" from="BoxContainer/Restart" to="BoxContainer/Restart" method="_on_pressed"]
[connection signal="pressed" from="BoxContainer/Options" to="." method="_on_options_pressed"]
[connection signal="pressed" from="BoxContainer/Exit" to="." method="_on_exit_pressed"]