プレイ日記
Simon Snoofles
I CAN'T FIGURE OUT HOW TO USE THE BUTTON COMMANDS!
1そうだね
プレイ済み
返信[1]
親投稿
Simon Snoofles
I just figured out that it is impossible to make a fully text based game as it spits out all the text in the beginning. 
0そうだね
プレイ済み
返信[2]
親投稿
*J.P.* DEV NEWPICY3
what? no. so buttons. IF BUTTON() AND #A THEN ^correct way^ also ill help with text problem. though i will need more info.
0そうだね
プレイ済み
返信[3]
親投稿
raimondz raimondzz
Another thing that is wrong is that you're not using a loop to handle the button input. Right now, your code only check the button input once. You need to do this: VAR B WHILE TRUE B=BUTTON() IF B AND #A THEN DO SOMETHING ENDIF IF B AND #B THEN DO OTHER THING ENDIF WEND
1そうだね
プレイ済み
返信[4]
親投稿
Guy brilliance360
@Simon it looks like you're missing a loop or ELSE command, so the program runs beginning to end without stopping regardless of whether you are pressing up or not. One solution is to, at the end of line 8, add: ELSE END. The second solution is to, on line 9 write: GOTO @PART1.
0そうだね
プレイ済み
返信[5]
親投稿
Guy brilliance360
The two solutions have different effects, so test out both separately to see which is closer to what you want.
0そうだね
プレイ済み
返信[6]
親投稿
Aaron Krondelo
lol, you know how many text based games are on SB, heck my first game was pure text. Like they said, main problem is you need a loop, and with a VSYNC, not wait 300.
0そうだね
プレイ済み
返信[7]
親投稿
Simon Snoofles
What does ENDIF and VSYNC do because so far, they're both useless
0そうだね
プレイ済み
返信[8]
親投稿
Simon Snoofles
They both dont do anything
0そうだね
プレイ済み
返信[9]
親投稿
raimondz raimondzz
ENDIF close an if statement. If you use IF alone then you must put each sentence at the right of it: EXAMPLE: IF X==0 THEN DO A; DO B; DO C; ETC With ENDIF you can do this. IF X==0 THEN DO A DO B DO C ... ENDIF
1そうだね
プレイ済み
返信[10]
親投稿
Aaron Krondelo
Dude, check your attitude. Why would we suggest useless commands. You need to read the manual.
0そうだね
プレイ済み
返信[11]
親投稿
crazy pro Jakob13009
vsync does something in my figure game ''space break''
0そうだね
プレイ済み