Phaser.Easing.Quadratic

new Quadratic()

Quadratic easing.

Source - tween/Easing.js, line 43

Methods

In(k)→ {number}

Ease-in.

Name

Type

Description

k

number

The value to be tweened.

number-

k^2.

Source - tween/Easing.js, line 45

InOut(k)→

{number}

Ease-in/out.

Name

Type

Description

k

number

The value to be tweened.

number-

The tweened value.

Source - tween/Easing.js, line 71

Out(k)→

{number}

Ease-out.

Name

Type

Description

k

number

The value to be tweened.

number-

k* (2-k).

Source - tween/Easing.js, line 58