time_factor
This variable influences the internal timebase. When
set below 1, a slow motion effect is achieved - above 1 it's a quick motion
effect.
Range:
0.01 .. 10.0 (default: 1.0)
Type:
varExample:
while(1)
{
if(key_s)
{
time_factor = 0.5;
}
else
{
time_factor = 1;
}
my.skin += time_step / 16;
my.skin %= 16; // 16 Skins
wait(1);
}
See also:
time, time_smooth, fps_max, fps_min, fps_lock, total_ticks, total_frames, wait
► latest
version online