Phaser API Documentation

  Version: 
StyleConfig
Properties:
name type arguments Default description
tileColor number | null | Phaser.Display.Color <optional> blue

Color to use for drawing a filled rectangle at non-colliding tile locations. If set to null, non-colliding tiles will not be drawn.

collidingTileColor number | null | Phaser.Display.Color <optional> orange

Color to use for drawing a filled rectangle at colliding tile locations. If set to null, colliding tiles will not be drawn.

faceColor number | null | Phaser.Display.Color <optional> grey

Color to use for drawing a line at interesting tile faces. If set to null, interesting tile faces will not be drawn.

Type:
object
Since: 3.0.0