Gunther Active Member Licensed User Longtime User Mar 13, 2019 #1 Currently we can Start and Stop the Game Loop. But sometimes one may would give the user the option to change something elsewhere in the app but the game loops remains running. May we get a "x2.Pause" or similar to the Game Loop where one can return to the Game Loop where it was paused? Greetings,
Currently we can Start and Stop the Game Loop. But sometimes one may would give the user the option to change something elsewhere in the app but the game loops remains running. May we get a "x2.Pause" or similar to the Game Loop where one can return to the Game Loop where it was paused? Greetings,
Erel B4X founder Staff member Licensed User Longtime User Mar 13, 2019 #2 It is equivalent to calling X2.Stop and later X2.Start. Note that X2.Stop doesn't immediately pauses the game (that's impossible). The current game loop iteration will complete and then stop.
It is equivalent to calling X2.Stop and later X2.Start. Note that X2.Stop doesn't immediately pauses the game (that's impossible). The current game loop iteration will complete and then stop.