Phaser API Documentation

  Version: 
ArcadeWorldConfig
Properties:
name type arguments Default description
fps number <optional> 60

Sets Phaser.Physics.Arcade.World#fps.

fixedStep boolean <optional> true

Sets Phaser.Physics.Arcade.World#fixedStep.

timeScale number <optional> 1

Sets Phaser.Physics.Arcade.World#timeScale.

gravity Phaser.Types.Math.Vector2Like <optional>

Sets Phaser.Physics.Arcade.World#gravity.

x number <optional> 0

Sets bounds.x.

y number <optional> 0

Sets bounds.y.

width number <optional> 0

Sets bounds.width.

height number <optional> 0

Sets bounds.height.

checkCollision Phaser.Types.Physics.Arcade.CheckCollisionObject <optional>

Sets Phaser.Physics.Arcade.World#checkCollision.

overlapBias number <optional> 4

Sets Phaser.Physics.Arcade.World#OVERLAP_BIAS.

tileBias number <optional> 16

Sets Phaser.Physics.Arcade.World#TILE_BIAS.

forceX boolean <optional> false

Sets Phaser.Physics.Arcade.World#forceX.

isPaused boolean <optional> false

Sets Phaser.Physics.Arcade.World#isPaused.

debug boolean <optional> false

Sets Phaser.Physics.Arcade.World#debug.

debugShowBody boolean <optional> true

Sets debugShowBody.

debugShowStaticBody boolean <optional> true

Sets debugShowStaticBody.

debugShowVelocity boolean <optional> true

Sets debugShowStaticBody.

debugBodyColor number <optional> 0xff00ff

Sets bodyDebugColor.

debugStaticBodyColor number <optional> 0x0000ff

Sets staticBodyDebugColor.

debugVelocityColor number <optional> 0x00ff00

Sets velocityDebugColor.

maxEntries number <optional> 16

Sets Phaser.Physics.Arcade.World#maxEntries.

useTree boolean <optional> true

Sets Phaser.Physics.Arcade.World#useTree.

customUpdate boolean <optional> false

If enabled, you need to call World.update yourself.

Type:
object