Restore landing fade and missing event sounds
This commit is contained in:
parent
546107efb9
commit
eb1615ab6b
10 changed files with 91 additions and 15 deletions
|
|
@ -92,6 +92,7 @@ func take_damage(amount: int) -> void:
|
|||
hp -= amount
|
||||
if hp <= 0:
|
||||
EnemyExplosionVFX.spawn(get_tree().root, position)
|
||||
Sfx.play(get_tree(), Sfx.ENEMY_DEATH)
|
||||
destroyed.emit()
|
||||
queue_free()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue