Game Development Community

Getting TGE/TGEA/T3D to run at full speed when not in focus

by Ian Omroth Hardingham · in Torque Game Engine · 04/21/2009 (9:46 am) · 1 replies

Hey guys.

Title says it all really - I need to get TGE/TGEA/T3D to run at full speed when another application is in focus in Windows. Does anyone know how?

Any help would be much appreciated.
Thanks,

Ian

#1
04/21/2009 (9:56 am)
The simple fix is to set $pref::backgroundSleepTime to 1.

For a more complex fix, take a look at platformTimer.cpp.