Category: Global
Since engine version: 1.0 OC
SetGameSpeed
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.