I'm working on a graphical game and want to add a PAUSE button? Is there some sort of PAUSE command, or will I need to pause the flow programmatically?
I know how to do it in B4A, but B4J appears to lack the same facilities.
If you are doing it with DoEvents then you should quickly delete it.
You should never try to pause the main thread. With a game, you should have a timer that implements the game loop and you should disable the timer to pause the game.
If you are doing it with DoEvents then you should quickly delete it.
You should never try to pause the main thread. With a game, you should have a timer that implements the game loop and you should disable the timer to pause the game.