Phaser.Easing. Elastic

new Elastic()

Elastic easing.

Source - tween/Easing.js, line 393

Methods

In(k) → {number}

Elastic ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 395

InOut(k) → {number}

Elastic ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 431

Out(k) → {number}

Elastic ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 413