プレイ日記
GreyTheNob JeIIaI
Whenever I print this it just flashes the text. Anyone know why? It uses locate so I'm not sure why it flashes the text :/ it's only the stuff in @loop that i need help with.
0そうだね
プレイ済み
返信[1]
親投稿
Phoenix B) epicphoenix4
At the end of the loop add Wait 1 cls
0そうだね
プレイ済み
返信[2]
親投稿
Phoenix B) epicphoenix4
So @loop code locate:print wait 1 cls goto @loop
0そうだね
プレイ済み
返信[3]
親投稿
mystman12 mystman12
Rather than WAIT, use VSYNC instead. Place "VSYNC 1" at the beginning of the loop, before the CLS. The VSYNC 1 command basically waits until 1 frame is complete before continuing. This is good as it prevents flickering and also allows better control of the game on a 60 FPS basis. (The loop will complete 60 times a second, assuming it isnt so complicated it takes longer than one frame to process.)
0そうだね
プレイ済み
返信[4]
親投稿
OlOOlOOl pi_r_round
Why are you clearing the screen and redrawing it every loop? Try: ACLS {commands related to drawing your menu} @LOOP {commands related to checking for button press} GOTO @LOOP
1そうだね
プレイ済み
返信[5]
親投稿
toxi toxibunny
I agree with ooiooiooi.
0そうだね
未プレイ
返信[6]
親投稿
GreyTheNob JeIIaI
Thanks to all those who commented. I feel quite stupid because it was such an obvious mistake lol
0そうだね
プレイ済み
返信[7]
親投稿
mystman12 mystman12
Actually, it's a good idea to clear the screen in a loop. You want to use CLS, however, not ACLS. ACLS basically resets everything besides variables.
0そうだね
プレイ済み
返信[8]
親投稿
Clepto Clepto2.0
Don't feel too bad. One time I got stuck because I used abd instead of and
0そうだね
プレイ済み