プレイ日記
seth seth100z
help pleas when i run the/my program it shows the sprite but it dosent let me make it walk pleas help me.
2そうだね
プレイ済み
返信[1]
親投稿
L. Lohadaa
I'm not sure what you're writing but you need BUTTON() command, and your ANIM doesn't seem like it's doing anything. Read through my comments in this post: https://miiverse.nintendo.net/posts/AYMHAAACAAADVHkkBvGXZg
0そうだね
未プレイ
返信[2]
親投稿
Ian starshipmario
i just did something like this
0そうだね
プレイ済み
返信[3]
親投稿
Ian starshipmario
ignore the if button()==30,34 then x=x-1 or +1 because i was experimenting with jumping and forgot to delet it
0そうだね
プレイ済み
返信[4]
親投稿
toxi toxibunny
Smilebasic isn't out in my region yet, but I did this exact thing in petit computer, and it was tougher than I expected. Split your problem into 3: 1: moving the sprite. detect the button presses and just slide it around the screen 2: getting it to face the right way. quite simple. 3: getting it to 'walk' animate while moving, and 'stand' while not moving. could be tricky.
0そうだね
未プレイ
返信[5]
親投稿
toxi toxibunny
I see you're trying to animate your sprite manually using spset. Not a terrible idea in general, but it would probably be better for you to learn how to use the proper sprite animation command SPANIM. It'll work out easier and more efficient in the long run...
0そうだね
未プレイ