name | type | arguments | Default | description |
---|---|---|---|---|
fps | number | <optional> | 60 | |
fixedStep | boolean | <optional> | true | |
timeScale | number | <optional> | 1 | |
gravity | Phaser.Types.Math.Vector2Like | <optional> | ||
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> | ||
overlapBias | number | <optional> | 4 | |
tileBias | number | <optional> | 16 | |
forceX | boolean | <optional> | false | |
isPaused | boolean | <optional> | false | |
debug | boolean | <optional> | false | |
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 | |
useTree | boolean | <optional> | true | |
customUpdate | boolean | <optional> | false |
If enabled, you need to call |