User:Deadmanbomber

Hello fellow programmers. I will post simple tutorials on how to code. Feel free to ask me for help What I will show you today is dpad movement

Here is a movement code

Px=128:py=96 @main B=button If b and 1 then py=py-1 If b and 2 then py=py+1 If b and 4 then px=px-1 If b and 8 then px=px+1 Spofs 0,px,py Vsync 1 Goto @main

Just add your Sprite at the beginning of your code then you got a moving Sprite.

I am a little confused on animating sprites while moving. So feel free to help out