html5 - Fill Phaser TileLayer with Data -
with phaser there possibility to create tilemaps pretty neat love use them. can generate required array of tile "data" initiate tilemaps since generate them on fly can't use game.load.tilemap(key, url, null, phaser.tilemap.tiled_json) initiate tilemap. looking way write tiles array or in best case put array of data tilemap api , draws tiles.
if need more information, please let me know!
you can call directly phaser.tilemapparser.parsetiledjson(), it's static method: build right object , pass argument.
Comments
Post a Comment