Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

Making a game loop to run multiple threads

Using threads directly is bad idea. You are always creating new threads instead of reusing them. Running new threads and switching between your updater, drawer and loop threads takes lot of time. ...
Piro's user avatar
  • 397
0 votes

Making a game loop to run multiple threads

My "game loop" uses a timer object that fires and runs a block of code every 50 ms. In that 50 ms, I run everything I need to do: move objects, etc. So, effectively running at 20 FPS which ...
Gerry Schmitz's user avatar

Top 50 recent answers are included