プレイ日記
oct Aidan xbomb795
help im trying to make a sprite appear on screen that I can move.
1そうだね
プレイ済み
返信[1]
親投稿
JAGMAN316 Jadwad
Okay, first make a @ loop. Then for SPOFS you want to put in somthing like this: SPOFS 1,X,Y . X and Y are the 2 varibles that represent the X,Y Axis. Now to make the sprite move, use IF BUTTON()==[8] THEN {X=X+1}. Reapeat and use 8,4,2,1 in [] for the other directions. In {} use X=X-1,Y=Y+1 and Y=Y-1. Finally put GOTO @LOOP
0そうだね
プレイ済み
返信[2]
親投稿
JAGMAN316 Jadwad
Hope this helps!
0そうだね
プレイ済み
返信[3]
親投稿
JAGMAN316 Jadwad
Here, I threw this together for you. This is how you make a sprite move (I forgot VSYNC earlier).
0そうだね
プレイ済み
返信[4]
親投稿
NagatoYuki newtonyic1
the sprite is moving by itself
0そうだね
プレイ済み
返信[5]
親投稿
oct Aidan xbomb795
ok thanks
0そうだね
プレイ済み