It moves the sprite around with the dpad.
Put @'s before the GLOOP's, replace the underscore with a space, and change the periods to commas to fix it.
...though you should not use labels for looping. Better code is:
ACLS
SPSET 0,256,208
X=0:Y=0
WHILE TRUE
SPOFS 0,X,Y,-10
B=BUTTON()
STICK OUT SX,SY:SY=-SY
UP=0:DOWN=0:LEFT=0:RIGHT=0
IF SX>0.1 THEN RIGHT=1
IF SX<0.1 THEN LEFT=1
IF SY>0.1 THEN UP=1
IF SY<0.1 THEN DOWN=1
IF B AND #UP THEN UP=1
IF B AND #DOWN THEN DOWN=1
IF B AND #RIGHT THEN RIGHT=1
IF B AND #LEFT THEN LEFT=1
INC X,(RIGHT-LEFT)
INC Y,(UP-DOWN)
VSYNC
WEND
has stick and dpad support.
wow, thanks, and yeah i fixed the @loop after i posted this (on basic it looks so much like an e)
so ill be... spending the next 10 billion years writing that down... lol jk, ill start later (↓)
but where i live THE SNOW IS POURING! YAS, I HAVE WAITED 3 YEARS! FINALLY! (the last 3 years there has been little to no snow...)
SOOOO HAPPY, snow=EPIC.
ok so once i did that, i tried i it and a picture of a tiny cat came up... why...?
anyways, do i need to add a map in order to use it?
or what do i need to do next?
just trying to make a basic game with a movable sprite and a map.
ok so i found out i dident put in acls, so i can move it now, but its constantly being pulled twards the left corner (i can move it but when i dont press anything it does it), how can i stop this, @scientist:and i mean how do you tell the sprites name/rename it, if i touch it it colors it, is there another spot for choosing sprites?or a button that lets you select sprites instead of coloring them?