プレイ日記
κιъъιε kibbledude
How do I make it were you can control an arrow to make choices?
3そうだね
プレイ済み
返信[1]
親投稿
PChicken NerdChicken
have a while loop that runs while a is not pressed WHILE BUTTON()!=#A put in some code to check whether left dpad button is pressed, if so, move the selection left IF BUTTON(3) == #LEFT THEN DEC SEL vice-versa with right dpad button IF BUTTON(3) == #RIGHT THEN INC SEL now limit the selection variable IF SEL < [lowest number] THEN SEL = [lowest number] -cont-
1そうだね
プレイ済み
返信[2]
親投稿
PChicken NerdChicken
-cont- do not include the -cont-s in your code IF SEL > [highest number] THEN SEL = [highest number] now figure out a way to show the selection, this shouldn't be hard [your code here] end the while loop WEND and no, i won't help you much with the showing selection code.
1そうだね
プレイ済み
返信[3]
親投稿
κιъъιε kibbledude
thanks!
0そうだね
プレイ済み
返信[4]
親投稿
κιъъιε kibbledude
like this?
0そうだね
プレイ済み
返信[5]
親投稿
PChicken NerdChicken
yes, but you need to implement a section of code that shows the selected items and which is selected.
0そうだね
プレイ済み