Enemy FSM Animation

This commit is contained in:
Marco 2025-03-21 15:16:50 +01:00
commit e7c1814d98
12 changed files with 161 additions and 6 deletions

View file

@ -149,6 +149,7 @@ public partial class PlayerAnimationProvider : Node2D
public void PlayDeathAnimation()
{
if (_deathParticles is null) return;
this.CreateSibling<AutodeleteParticle>(_deathParticles, this.GlobalPosition);
_animatedSprite.Visible = false;
}