プレイ日記
κιъъιε kibbledude
How do i make it where when you press A it does something?
2そうだね
プレイ済み
返信[1]
親投稿
Clayton DarkClay88
You will need a button input. Put this right after your last print: WHILE 1 IF BUTTON() AND #A THEN GOTO @PLAY (All one line btw) WEND @PLAY ACLS
0そうだね
プレイ済み
返信[2]
親投稿
12Me23 12Me23
a better solution (for this situation): REPEAT:UNTIL BUTTON() AND #A
2そうだね
プレイ済み
返信[3]
親投稿
κιъъιε kibbledude
How do i make it press b?
0そうだね
プレイ済み
返信[4]
親投稿
κιъъιε kibbledude
or make it where when you press b something happens
0そうだね
プレイ済み
返信[5]
親投稿
κιъъιε kibbledude
because when i put the code clayton gave me it puts the b part into the a part. so its like you press a and then it tells you to press b. i want both of the options in the same menu. BUT I CANT!!!
0そうだね
プレイ済み
返信[6]
親投稿
κιъъιε kibbledude
plz help
0そうだね
プレイ済み
返信[7]
親投稿
12Me23 12Me23
you could do something like: WHILE 1 B=BUTTON(2) IF B==#A THEN GOTO @LABEL1 IF B==#B THEN GOTO @LABEL2 '... WEND replacing the labels with whatever you're using
0そうだね
プレイ済み
返信[8]
親投稿
Clayton DarkClay88
I'm not exactly sure what you're asking, but if you want to use B use: IF BUTTON() AND #B THEN (Whatever you want) If you want it to do what you just asked, just use 12Me23's method. REPEAT:UNTIL BUTTON() AND #A CLS 'or ACLS ? "Hello" REPEAT:UNTIL BUTTON() AND #B
0そうだね
プレイ済み
返信[9]
親投稿
Clayton DarkClay88
Or what 12Me23 said. xP
0そうだね
プレイ済み
返信[10]
親投稿
κιъъιε kibbledude
i put what 12Me23 said and it makes both of the button commands dissapear! it has the menu and then it doesn't say what to press! Plz Help!
0そうだね
プレイ済み
返信[11]
親投稿
κιъъιε kibbledude
so what im asking is how do i make the credits(b button) and the actual adventure(a button) show on the same menu? I think it's some problem with the while's. I dont know. Plz help... DERP XD
0そうだね
プレイ済み
返信[12]
親投稿
Clayton DarkClay88
When you press A or B, it will go to its assigned label. It does not display on the screen what the buttons do when you run it. Before your WHILE loop, put: LOCATE 0,1 PRINT (or ? for short) "Press A to (whatever you want)" LOCATE 0,2 PRINT "Press B to (whatever you want)"
0そうだね
プレイ済み
返信[13]
親投稿
κιъъιε kibbledude
I put it in and it wont show the part where it says "press a to play"
0そうだね
プレイ済み
返信[14]
親投稿
κιъъιε kibbledude
see look i put it in but it wont print and it doesnt work when i actually press a
0そうだね
プレイ済み
返信[15]
親投稿
Clayton DarkClay88
That needs to be before the other WHILE loop.
1そうだね
プレイ済み
返信[16]
親投稿
Drew Mr.Overdrive6.4
this is squirt. im using my brothers 3ds because i reached 30 posts.
0そうだね
未プレイ
返信[17]
親投稿
Drew Mr.Overdrive6.4
so back to what i was saying, ot showed the a button part, but it made the b button part dissapear! I want both of the parts on the same menu, but it wont work!
0そうだね
未プレイ
返信[18]
親投稿
Drew Mr.Overdrive6.4
Hello?
0そうだね
未プレイ
返信[19]
親投稿
Drew Mr.Overdrive6.4
so when i make 2 whiles, only one lf them shows. so when i added it before the while, the a part showed, but the b part dissapeared. i need to know how to make both of them appear and work.
0そうだね
未プレイ
返信[20]
親投稿
PChicken NerdChicken
put the code in the same while loop. easy as that.
0そうだね
プレイ済み
返信[21]
親投稿
Drew Mr.Overdrive6.4
lemme try.
0そうだね
未プレイ
返信[22]
親投稿
Drew Mr.Overdrive6.4
YOU WERE RIGHT! IT WORKED PERFECTLY! YOU AND CLAYTON AND 12ME23 ARE ALL GOING IN THE CREDITS!
0そうだね
未プレイ