lose screen animation
This commit is contained in:
parent
1d0032b587
commit
dba09165e8
9 changed files with 151 additions and 2 deletions
|
|
@ -22,9 +22,12 @@ static func is_active() -> bool:
|
|||
return false
|
||||
|
||||
func _ready() -> void:
|
||||
%ResultsScreen.hide()
|
||||
level = self
|
||||
|
||||
func _on_player_died() -> void:
|
||||
active = false
|
||||
%DeathAnimation.play(&"death")
|
||||
%ResultsScreen.update_labels()
|
||||
%ResultsScreen.show()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue