Interesting article on Game Loops
by Peter Simard · in Torque Game Engine · 03/10/2008 (11:16 am) · 1 replies
I came across this article today and found it fascinating. It details the many approaches used in designing a games main loop.
dewitters.koonsolo.com/gameloop.html
From my understanding Torque uses the last solution on that page, which appears to be the best. (Framerate independent game ticks, uncapped FPS).
dewitters.koonsolo.com/gameloop.html
From my understanding Torque uses the last solution on that page, which appears to be the best. (Framerate independent game ticks, uncapped FPS).
Associate Orion Elenzil
Real Life Plus
i think you're right TGE uses the last method - processTick() is called in the "update_game()" segment, and interpolateTick() is called in the "display_game()" segment.