プレイ日記
duckymomo fluffyofqweam
how do I make it were you press X on your 3DS some thing would happen?
5そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
WHILE TRUE IF BUTTON() AND #X THEN 'DO SOMETHING ENDIF WEND The BUTTON command can also be given a parameter. I suggest looking at the help entry. (Hover the cursor over BUTTON and press [ ? ]) Also, you can use buttons other than X. Just replace the #X with either of these: #A #B #X #Y #LEFT #RIGHT #UP #DOWN #L #R These are New 3DS only: #ZL #ZR You can't use START or SELECT, though.
2そうだね
プレイ済み
返信[2]
親投稿
duckymomo fluffyofqweam
it didn't work :(
0そうだね
プレイ済み
返信[3]
親投稿
Oscar PwnageBlock
You don't need an ENDIF if your IF statement doesn't span over 1 line.
0そうだね
プレイ済み
返信[4]
親投稿
Hanzo rzsense
Could you replace "ENDIF" by "VSYNC 1"?
0そうだね
未プレイ
返信[5]
親投稿
Clayton DarkClay88
VSYNC 1 B=BUTTON() IF B AND #X THEN (Whatever you want) ENDIF
0そうだね
プレイ済み
返信[6]
親投稿
Lukas dogcutie
WHILE 1 variable=BUTTON(number 0-3) IF variable=#button THEN... WEND Check help for more help
0そうだね
プレイ済み
返信[7]
親投稿
MBGPokéBro Michaelrules555
IF BUTTON() AND #X THEN GOTO @GAME
1そうだね
プレイ済み