New answers tagged

0

You usually have some kind of "main loop" in your game that runs continuosly. Depending on wether your game is multithreaded or not, this "main loop" looks different. In a single threaded environment, your main loop usually looks like this time = current time while game is running deltaTime = (current time) - time // custom logic // e.g. ...



Top 50 recent answers are included