Games [wish] Add X2.Pause to the Game Loop

Discussion in 'Game Development' started by Gunther, Mar 13, 2019 at 1:41 PM.

  1. Gunther

    Gunther Active Member Licensed User

    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,
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice