Navigation
These archived docs are for Phaser 2.6.2 Phaser 3 docs can be found on newdocs.phaser.io.
Phaser CE docs can be found on the Phaser CE Documentation site.

Constructor

Phaser.Easing. Linear

new Linear()

Linear easing.

Source code: tween/Easing.js (Line 21)

Public Methods

None(k) → {number}

Linear Easing (no variation).

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

k.

Source code: tween/Easing.js (Line 23)