Phaser API Documentation

  Version: 
Filter
Namespace: Easing
Phaser.Math.Easing
Source: src/math/easing/index.js (Line 7)

Namespace

Methods

<static> Linear(v)
Focus
Focus

Description:

Linear easing (no variation).

Parameters:

name type description
v number

The value to be tweened.

Returns:
Description:

The tweened value.

Type:
  • number
Since: 3.0.0
Focus
Focus
<static> Stepped(v, [steps])
Focus
Focus

Description:

Stepped easing.

Parameters:

name type arguments Default description
v number

The value to be tweened.

steps number <optional> 1

The number of steps in the ease.

Returns:
Description:

The tweened value.

Type:
  • number
Since: 3.0.0
Focus
Focus