Game maker studio 2 walking animation

broken image
broken image

You also don't need to set image_speed every time you change the sprite. He's basically resetting how GM's tracking what frame it's on every step. If (sprite_index!=spr_player_move) image_index = 0 Ĭonstantly setting the image_index would do it, yeah.

broken image

All I want, is to be able to view the animation of my sprite when my character is rolling/sprinting. So it is the code that is the problem, not the sprite. And if I change it around to be the animation to normal move then it plays. I have tried doing it with - if (sprint) and then the sprite and it changes as well but wont play the animation that goes with it.

broken image

My sprint animation just wont play no matter how I change it. It changes to the sprite just fine and game runs perfect. I have tried setting up a bunch of different ways.

broken image