Sound effects
This commit is contained in:
parent
6ea21b3181
commit
6671b455c4
17 changed files with 94 additions and 6 deletions
|
@ -14,6 +14,7 @@ func _on_Hurtbox_hit(damage):
|
|||
stats.health -= damage
|
||||
|
||||
func _on_EnemyStats_enemy_died():
|
||||
SoundFx.play_fx("EnemyDie", 1, -20)
|
||||
Utils.instance_scene_on_main(EnemyDeathEffect, global_position)
|
||||
queue_free()
|
||||
emit_signal("died")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue