Class: Elastic

Phaser.Easing. Elastic

new Elastic()

Elastic easing.

Source:
src/tween/Easing.js line 369

Methods

In(k)

Elastic ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
src/tween/Easing.js line 371
Returns:

The tweened value.

Type
number

InOut(k)

Elastic ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
src/tween/Easing.js line 407
Returns:

The tweened value.

Type
number

Out(k)

Elastic ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
src/tween/Easing.js line 389
Returns:

The tweened value.

Type
number

phaser-ce@2.20.0 is on GitHub and NPM

Documentation generated by JSDoc 3.6.7 on 2022-12-10 using Tomorrow.