Phaser API Documentation

  Version: 

Member of: Phaser.Time.Clock

timeScale: number

Description:

The scale of the Clock's time delta.

The time delta is the time elapsed between two consecutive frames and influences the speed of time for this Clock and anything which uses it, such as its Timer Events. Values higher than 1 increase the speed of time, while values smaller than 1 decrease it. A value of 0 freezes time and is effectively equivalent to pausing the Clock.

Type:
number
Default: 1
Since: 3.0.0
Source: src/time/Clock.js (Line 59)