プレイ日記
klonoa hellkolbod
ok so i came acrossed a bug where if you type two it will flash rose's bio for a split second then go back to story select im gonna post my code in a sec
1そうだね
プレイ済み
返信[1]
親投稿
klonoa hellkolbod
..
1そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian1
You are calling PRINT "Play as Rose... instead of INPUT "Play as Rose... You should really make a generic input handling function for menu choices. You have nearly the same code twice, and it doesn't handle bad input.
0そうだね
プレイ済み
返信[3]
親投稿
Stewart segludian1
I think you want a menu like the attached screen shot. You just move to a choice with up/down and select with a or b. The function takes a delimited string as input and returns the index selected.
0そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian1
Sample code part one of three. You can skip the load hello.txt part that was just to get text on the screen to put the menu underneath.
0そうだね
プレイ済み
返信[5]
親投稿
Stewart segludian1
Sample code part two of three. Sorry this is long. If you have questions about the code, let me know.
0そうだね
プレイ済み
返信[6]
親投稿
Stewart segludian1
Sample code part 3 of 3. If you add all of that to your code and use that choice function, it should make things easier to code, debug, be more resistant to invalid input, and look a bit nicer too. Have fun.
0そうだね
プレイ済み
返信[7]
親投稿
klonoa hellkolbod
ok
0そうだね
プレイ済み