In my platformer game GD confuses the animation of player!


I started a platformer game project a couple of months ago, and suddenly, when I created a new animation and I compiled the game, it uses the new animation also for jumping and walking, instead on dying.

I need to fix this and I don´t know how. If anyone could help me i woud be so grateful!

We’ll need sources : at least the sprites impacted and basic control you use.

Basically, if you changed nothing in GD on these sprites, i think you erased/replaced some files in the game folder by mistake. Take a look on your backups or just change the image of the sprite, then rebuild the sprite animation.