GAME OVERgit statusgit statusgit status

This commit is contained in:
Haze Weathers 2023-12-30 22:51:57 -05:00
parent 0f679fe404
commit 5772e5f046
2 changed files with 39 additions and 7 deletions

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=16 format=2]
[gd_scene load_steps=17 format=2]
[ext_resource path="res://shaders/ska_plane.gdshader" type="Shader" id=1]
[ext_resource path="res://objects/hud/3d_text.tscn" type="PackedScene" id=2]
[ext_resource path="res://ui/theme.tres" type="Theme" id=3]
[ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=4]
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=5]
[ext_resource path="res://shaders/wibble_wobble.gdshader" type="Shader" id=6]
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=7]
@ -91,8 +92,8 @@ margin_left = 16.0
margin_top = 8.0
margin_right = 93.0
margin_bottom = 44.0
text = "RETRY LEVEL
EXIT TO MAP
text = "restart game
quit game
"
[node name="Retry" type="TextureButton" parent="Panel"]
@ -114,6 +115,7 @@ texture_focused = ExtResource( 5 )
[node name="MenuSounds" parent="." instance=ExtResource( 7 )]
[node name="Label" type="Label" parent="."]
visible = false
material = SubResource( 12 )
margin_top = 59.0
margin_right = 256.0
@ -137,6 +139,32 @@ align = 1
text_material = SubResource( 9 )
anim = "game over"
[node name="Score" type="Label" parent="."]
unique_name_in_owner = true
material = ExtResource( 4 )
anchor_right = 1.0
margin_left = 4.0
margin_top = 48.0
margin_right = -4.0
margin_bottom = 70.0
theme = ExtResource( 3 )
text = "Score: %05d"
align = 1
valign = 1
[node name="Shards" type="Label" parent="."]
unique_name_in_owner = true
material = ExtResource( 4 )
anchor_right = 1.0
margin_left = 4.0
margin_top = 70.0
margin_right = -4.0
margin_bottom = 92.0
theme = ExtResource( 3 )
text = "got %d/25 shards"
align = 1
valign = 1
[connection signal="button_down" from="Panel/Retry" to="." method="_on_Retry_button_down"]
[connection signal="button_down" from="Panel/Retry" to="3DText" method="play_confirm_sound"]
[connection signal="focus_entered" from="Panel/Retry" to="MenuSounds" method="play_select_sound"]