My Brick wall
-
-
Yes, the code...
while game == false loop Start() repeat
...will never exit since "game" will always be false here.
I don't think you need to loop that.
Also, stats() is never called as I can discover, so you will never see any input, right?
-
So how do you keep a screen going without using the loop
-
Stats was my could be solution but it did not work
-
@RiskyCrimson said in My Brick wall:
So how do you keep a screen going without using the loop
If you want to read the keyboard in a similar way to @Jongjungbu you need to read the keyboard state in the same loop as you're displaying the screen, using getKeyboardBuffer().
-
My IF demo is shared if you send me a friend request. Unless you already did send. So you should be able to analyze the code, if that helps.