Next: Tornado, Previous: Timed Scene Changer, Up: General [Contents][Index]
This component allows the speed of the game to be changed. If ’T Scale’ is less than 1, slow things down. If greater than 1, speed up. If less than 0, speed up (Time cannot run backwards). SetRecoveryRate and SetTimeScale both take a floating point value.
float
tScaleHow fast is time passing? 1 = normal
Default value: 1.0f
float
recoveryRatehow fast does time return to normal?
Default value: 0f
Sets the time scale back to 1, causing time to flow normally
Sets the rate at which the ’Time Scale’ returns to 1. Set it to 0 to disable this feature
Argument: The new recovery rate
Set the time scale for the game. You can speed up & slow down time easily this way
Argument: The new time scale. 1 is normal, 0 is paused. The absolute value is used, time cannot run backwards.
float
tScaleHow fast is time passing? 1 = normal
Default value: 1.0f
float
recoveryRatehow fast does time return to normal?
Default value: 0f
Sets the time scale back to 1, causing time to flow normally
Sets the rate at which the ’Time Scale’ returns to 1. Set it to 0 to disable this feature
Argument: The new recovery rate
Set the time scale for the game. You can speed up & slow down time easily this way
Argument: The new time scale. 1 is normal, 0 is paused. The absolute value is used, time cannot run backwards.
Next: Tornado, Previous: Timed Scene Changer, Up: General [Contents][Index]