プレイ日記
Josiah Spike4
So... I can make my sprite not move off the screen when using the circle pad but, my data recieved from the circle pad still reads as if it were going off the screen. How do I make my circle pad read a boundary?
4そうだね
プレイ済み
返信[1]
親投稿
Josh josh.h7
You could make it like IF Y<0 THEN Y=0 that way Y is set to 0 if it hits the top of the screen and for the bottom of the screen IF Y>240 THEN Y=240
0そうだね
プレイ済み
返信[2]
親投稿
Josiah Spike4
Worked!! thanks, and you were the one that helped my last question too, that worked also, thank you! :)
0そうだね
プレイ済み