121 reputation
2
bio website
location
age
visits member for 2 years, 4 months
seen Sep 21 at 17:58

Feb
18
awarded  Teacher
Feb
18
answered EXTREMELY Confused Over “Constant Game Speed Maximum FPS” Game Loop
Feb
18
comment EXTREMELY Confused Over “Constant Game Speed Maximum FPS” Game Loop
While loop seems correct and incrementing next_game_tick is there for that. It is there to keep simulation running at constant speed on slower and faster hardware. Running the rendering code "as fast as possible" (or faster than physics anyway) makes sense only when there is interpolation in rendering code to make it more smooth for fast objects etc (end of the article), but that is just wasted energy if it is rendering more than what whatever output device (screen) is able to show.
Oct
5
awarded  Supporter