Gunther Active Member Licensed User Longtime User Nov 6, 2018 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2018 #2 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.
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.