hud
This commit is contained in:
parent
a6421235f8
commit
d729c0a7a3
14 changed files with 187 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ extends Node2D
|
|||
var health = 100.0
|
||||
|
||||
func _on_area_2d_area_entered(area: Area2D) -> void:
|
||||
CurrentGame.change_score(100)
|
||||
%HurtSound.play()
|
||||
health -= 0.25
|
||||
print(%Movements.current_animation)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue