"eh bo derek"

This commit is contained in:
MarcEricMartel
2023-10-10 19:27:17 -04:00
parent 4de4f43753
commit 98e9404435
3 changed files with 46 additions and 28 deletions

View File

@@ -90,6 +90,7 @@ func die():
animatedSprite.play("death")
animatedSprite.disconnect("animation_finished", endAttack)
animatedSprite.connect("animation_finished", fadeOut)
enemy.remove_foe(self)
func fadeOut():
var tween = get_tree().create_tween()