Log In  

Cart #animmario-0 | 2021-09-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


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?

P#97078 2021-09-08 21:39


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!

Cart #testinghockey-0 | 2021-07-21 | Code ▽ | Embed ▽ | No License

P#95130 2021-07-21 15:44 ( Edited 2021-07-21 15:46)

Cart #ufoshooter-2 | 2021-02-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#87584 2021-02-13 11:03 ( Edited 2021-02-13 13:15)

Follow Lexaloffle:        
Generated 2021-10-19 20:35:35 | 0.079s | Q:16