Hey y'all,
I have just started coding in CelticCE (like last week) and I'm trying to make a screensaver, but I've ran into a few issues.
As of now, here is my code.
Code:
The problem I have is that whenever I press a key, it doesn't stop immediately, it only stops on the last line (the light blue). I've looked through a lot of things including other screensaver's source code, but I can't find any way how to make it stop right away, not at the end of the code.
Thanks.
I have just started coding in CelticCE (like last week) and I'm trying to make a screensaver, but I've ran into a few issues.
As of now, here is my code.
Code:
:DCS
While getKey=0
Lbl 1
det(16,RED)
Wait 1
det(16,BLUE)
Wait 1
det(16,GREEN)
Wait 1
det(16,MAGENTA)
Wait 1
det(16,ORANGE)
Wait 1
det(16,BROWN)
Wait 1
det(16,NAVY)
Wait 1
det(16,YELLOW)
Wait 1
det(16,LTBLUE)
Wait 1
End:ClrHome
The problem I have is that whenever I press a key, it doesn't stop immediately, it only stops on the last line (the light blue). I've looked through a lot of things including other screensaver's source code, but I can't find any way how to make it stop right away, not at the end of the code.
Thanks.