SetGameSpeed
Category:
Global
Since engine version:
5.1 OC
Description
Sets game speed.
Syntax
bool
SetGameSpeed(
int
game_speed);
Parameter
game_speed:
[opt] Game speed in FPS (frames per second). If this parameter is omitted or
false
, the default game speed of 38 FPS is used.
Example
SetGameSpeed(10);
The game runs in slow motion.
PeterW, 2002-05