Game Development Community

Hopefully quick question about slow motion

by Brad McGrath · in Torque Game Engine · 11/12/2009 (11:47 am) · 1 replies

I noticed through this thread on the TGEA forum...
http://www.garagegames.com/community/forums/viewthread/71213
...that there is a way to add a slow motion feature by changing the $timescale value.

Is this something available in TGE or just TGEA?
Is this an engine variable or a scripting variable?

Reason I ask is I've been tasked through my university to make one small modification or change to the engine code and then resubmit it. Doesn't have to be anything complex at all but I thought this might be a good one when tied to a keybinding of some sort. I've used TGE before and the starter.fps game, but havent messed with the engine side code really. I need this change to be engine side to the point where I have to recompile the engine itself. I know how to access the files but I'm not sure which one would contain the area I need to update.

#1
02/20/2010 (7:05 pm)
Well, engine changes would not have to be done since the $timescale variable can be changed in script at anytime, with slowmode being when $timescale < 1.