プレイ日記
Ep17 EmPx17
My day and night cycle isn't working the sky color wont change.
2そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
The second set of GFILLs gets immediately overwritten by the first set when the loop ends. Try adding another WAIT 20 (which should be longer by the way, since 20 frames is only a third of a second) after the second set of GFILLs. Also, you'll have to implement this cycle another way, since the loop isn't synchronous with the gameplay.
2そうだね
プレイ済み
返信[2]
親投稿
Ep17 EmPx17
Ok thanks, Also i made be 20 because i was testing to see if it would even work.
0そうだね
プレイ済み
返信[3]
親投稿
Aaron Krondelo
You're probably better of incrementing a color value 1 at a time in your main loop, then decreasing it again once it's at a certain amount. This will give you a more progressive fade effect that will take longer.
2そうだね
プレイ済み
返信[4]
親投稿
Lacks DHaze420
So the number in WAIT 'X' is wait 'this many' frames? How long is 1 second? if 20 is a 1/3 does that mean its 60 frames per second?
2そうだね
プレイ済み
返信[5]
親投稿
L. Lohadaa
Entirely correct, Ju. 'X' means X/60 sec. I don't like to do extra math, so whenever I want it to wait 15 seconds I just type WAIT 15*60.
1そうだね
未プレイ