Restore landing fade and missing event sounds

This commit is contained in:
Loïc Wisniewski 2026-08-31 18:15:37 +02:00
commit eb1615ab6b
10 changed files with 91 additions and 15 deletions

View file

@ -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()