W3cubDocs

/Phaser

Class: Phaser.Easing.Bounce

Constructor

new Bounce()

Bounce easing.

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

Public Methods

In(k) → {number}

Bounce ease-in.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

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

InOut(k) → {number}

Bounce 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 553)

Out(k) → {number}

Bounce ease-out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

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

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Easing.Bounce.html