Namespace: Arcade

Phaser.Physics. Arcade

Classes

ArcadePhysics
Body
Collider
Factory
Group
Image
Sprite
StaticBody
StaticGroup
World

Namespaces

Components
Tilemap

Members


<static, readonly> DYNAMIC_BODY :number

Dynamic Body.

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 15)
See:

<static, readonly> FACING_DOWN :number

Facing down.

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 85)
See:

<static, readonly> FACING_LEFT :number

Facing left.

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 97)
See:

<static, readonly> FACING_NONE :number

Facing no direction (initial value).

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 61)
See:

<static, readonly> FACING_RIGHT :number

Facing right.

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 109)
See:

<static, readonly> FACING_UP :number

Facing up.

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 73)
See:

<static, readonly> GROUP :number

[description]

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 41)

<static, readonly> STATIC_BODY :number

Static Body.

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 28)
See:

<static, readonly> TILEMAPLAYER :number

[description]

Type:
  • number
Since: 3.0.0
Source: src/physics/arcade/const.js (Line 51)

Methods


<static> GetOverlapX(body1, body2, overlapOnly, bias)

[description]

Parameters:
Name Type Description
body1 Phaser.Physics.Arcade.Body

[description]

body2 Phaser.Physics.Arcade.Body

[description]

overlapOnly boolean

[description]

bias number

[description]

Since: 3.0.0
Source: src/physics/arcade/GetOverlapX.js (Line 9)
Returns:

[description]

Type
number

<static> GetOverlapY(body1, body2, overlapOnly, bias)

[description]

Parameters:
Name Type Description
body1 Phaser.Physics.Arcade.Body

[description]

body2 Phaser.Physics.Arcade.Body

[description]

overlapOnly boolean

[description]

bias number

[description]

Since: 3.0.0
Source: src/physics/arcade/GetOverlapY.js (Line 9)
Returns:

[description]

Type
number

<static> SeparateX(body1, body2, overlapOnly, bias)

[description]

Parameters:
Name Type Description
body1 Phaser.Physics.Arcade.Body

[description]

body2 Phaser.Physics.Arcade.Body

[description]

overlapOnly boolean

[description]

bias number

[description]

Since: 3.0.0
Source: src/physics/arcade/SeparateX.js (Line 9)
Returns:

[description]

Type
boolean

<static> SeparateY(body1, body2, overlapOnly, bias)

[description]

Parameters:
Name Type Description
body1 Phaser.Physics.Arcade.Body

[description]

body2 Phaser.Physics.Arcade.Body

[description]

overlapOnly boolean

[description]

bias number

[description]

Since: 3.0.0
Source: src/physics/arcade/SeparateY.js (Line 9)
Returns:

[description]

Type
boolean