Navigation
These archived docs are for Phaser 2.6.1 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. Circular

new Circular()

Circular easing.

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

Public Methods

In(k) → {number}

Circular ease-in.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

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

InOut(k) → {number}

Circular ease-in/out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

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

Out(k) → {number}

Circular ease-out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

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