Game over/ Pause screen
cerated a functional game over screen. created a partially working pause screen.
This commit is contained in:
1 parent
d50bcf3850
commit
37b5ba6a8f
17 files changed
+508
-80
No files matched your search
@@ -0,0 +1,49 @@
|
||||
[gd_scene format=3 uid="uid://dvujc88306mxp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://qtq5kw1cwxo3" path="res://scenes/game_over.gd" id="1_tbwuq"]
|
||||
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="1_wqhvx"]
|
||||
[ext_resource type="FontFile" uid="uid://dkytywan8eapf" path="res://assets/fonts/PixelOperator8.ttf" id="2_tbwuq"]
|
||||
|
||||
[node name="game_over" type="Node2D" unique_id=1847116366]
|
||||
script = ExtResource("1_tbwuq")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=995002747]
|
||||
z_index = 12
|
||||
offset_left = -1264.0
|
||||
offset_top = -635.0
|
||||
offset_right = 1107.0
|
||||
offset_bottom = 534.0
|
||||
color = Color(14.806348, 0, 0, 0.34509805)
|
||||
|
||||
[node name="Label" type="Label" parent="." unique_id=677546612]
|
||||
z_index = 13
|
||||
offset_left = -856.0
|
||||
offset_top = -334.0
|
||||
offset_right = 1019.0
|
||||
offset_bottom = -134.0
|
||||
theme_override_fonts/font = ExtResource("1_wqhvx")
|
||||
theme_override_font_sizes/font_size = 200
|
||||
text = "GAME OVER!"
|
||||
|
||||
[node name="Button" type="Button" parent="." unique_id=81464495]
|
||||
z_index = 13
|
||||
offset_left = -288.0
|
||||
offset_top = 28.0
|
||||
offset_right = 358.0
|
||||
offset_bottom = 137.0
|
||||
theme_override_fonts/font = ExtResource("2_tbwuq")
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "Respawn"
|
||||
|
||||
[node name="Button2" type="Button" parent="." unique_id=1126403836]
|
||||
z_index = 13
|
||||
offset_left = -279.0
|
||||
offset_top = 205.0
|
||||
offset_right = 367.0
|
||||
offset_bottom = 314.0
|
||||
theme_override_fonts/font = ExtResource("2_tbwuq")
|
||||
theme_override_font_sizes/font_size = 100
|
||||
text = "Quit"
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
|
||||
Reference in new issue
Block a user