Games Sub schedule in one game loop

Discussion in 'Game Development' started by Gunther, Nov 6, 2018.

  1. Gunther

    Gunther Active Member Licensed User

    Dear Erel,

    thnaks for all te new items in XUI2D.

    May I ask you for a diagram explaining which sub/callback is when accessed in one game loop?

    "Game.Tick is called before all other bodies are drawn", "Private Sub World_PreSolve", etc

    Thanks.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You don't need me for this. Open X2Utils. Go to MainLoop, find mGame and click on F7.

    There are exactly two calls from the main loop. There is another call to DrawingComplete in BC_BitmapReady.

    The world collision events happen from inside the call to mWorld.TimeStep.
     
    Gunther likes this.
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