Cache#getTilemapData()

getTilemapData(key) → {object}

Gets a raw Tilemap data object from the cache. This will be in either CSV or JSON format.

The object is looked-up based on the key given.

Note: If the object cannot be found a console.warn message is displayed.

Parameters
Name Type Description
key string

The key of the asset to retrieve from the cache.

Returns
object -

The raw tilemap data in CSV or JSON format.

Source code: loader/Cache.js (Line 1249)
doc_phaser
2017-02-14 10:40:22
Comments
Leave a Comment

Please login to continue.