These docs are for Phaser 2.6.2 Phaser CE docs are available here and Phaser 3 Docs are coming soon.

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)