プレイ日記
debugþ TheRealJoeCool
Can you move a animated sprite using the circle pad?
10そうだね
プレイ済み
返信[1]
親投稿
Pkyoshi19 Pokeyoshi19
Yes. (You will need to learn how to use SPANIM, and how to use STICK.)
0そうだね
プレイ済み
返信[2]
親投稿
PChicken NerdChicken
WHILE TRUE STICK OUT SX, SY SPOFS 0, SX*10, SY*10 WEND this is a strange interpretation of "move using the circle pad", but I like it.
0そうだね
プレイ済み
返信[3]
親投稿
Stewart segludian
The code in the attached screen shot may help. It sets up an animated sprite, then moves it around using values from STICK as mentioned above. Sorry no space to add bounds checking in a single screen full of code.
1そうだね
プレイ済み
返信[4]
親投稿
Katzy truesoldiers
You should be able to. I mean, like, why wouldn't you be able to?
0そうだね
未プレイ
返信[5]
親投稿
debugþ TheRealJoeCool
@Stewart It said there was a duplicate label in 0:4. What is my error? Can you put up the rest of the coding from your last post?
0そうだね
プレイ済み
返信[6]
親投稿
debugþ TheRealJoeCool
Heres the picture.
0そうだね
プレイ済み
返信[7]
親投稿
Stewart segludian
I see maxy instead of maxy% on line 5. That would give you an undefined variable error. If that doesn't work try moving option strict up to line 1, and let me know if you get a different error message.
0そうだね
プレイ済み