"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

@@ -14,7 +14,7 @@
position = Vector2(441, 312)
[node name="BatSpawnable" parent="." instance=ExtResource("3_a1ucf")]
position = Vector2(248, 225)
position = Vector2(62, 122)
[node name="BatSpawnable2" parent="." instance=ExtResource("3_a1ucf")]
position = Vector2(644, 251)

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