TilemapParser.INSERT_NULL

[static] INSERT_NULL : boolean

When scanning the Tiled map data the TilemapParser can either insert a null value (true) or
a Phaser.Tile instance with an index of -1 (false, the default). Depending on your game type
depends how this should be configured. If you've a large sparsely populated map and the tile
data doesn't need to change then setting this value to true will help with memory consumption.
However if your map is small, or you need to update the tiles (perhaps the map dynamically changes
during the game) then leave the default value set.

Source code: tilemap/TilemapParser.js (Line 26)
doc_phaser
2017-02-14 11:16:47
Comments
Leave a Comment

Please login to continue.