I am going a bit mad trying to figure out how to make a simple 4 frame sprite animation run on a loop, and then transition to a different 4 frame animation loop after a button is pressed.
Simply - I am trying to make this Mario sprite look like it is walking forward when idle, or pressing forward, and then look like he is walking sideways when pressing left or right. I can make him animate on loop when idle, but I cannot figure out how to make it animate as a different sequence after a direction is pressed, and ensure the animation runs smooth (for example, I can get it to change to the new sequence, but holding the button down keeps the sequence locked into the first frame of the animation).
I hope that makes sense! Does anyone have a simple solution?
I am developing a small hockey type game where the player character can move in all directions. It works fine enough but because of the D-pad movement, if the player tries to go in a circle, its very much a diamond shaped movement instead.
I am not sure if there is any way to make this movement smoother, so its circular if you hit the buttons in quick succession like the below gif image?
Any suggestions or feedback are most welcome! :) Thanks!