phaser-tilemap-plus icon indicating copy to clipboard operation
phaser-tilemap-plus copied to clipboard

"Tile Layer Format" matters!

Open nemoDreamer opened this issue 8 years ago • 2 comments

It's worth mentioning in the README that Tiled's "Tile Layer Format" matters when wanting to enable animations:

  • [x] XML
  • [ ] Base64 (uncompressed) supported by Phaser.Loader
  • [ ] ~~Base64 (gzip compressed)~~ unsuported by Phaser.Loader
  • [ ] ~~Base64 (zlib compressed)~~ unsupported by Phaser.Loader
  • [x] CSV

Basically, the JSON needs it's layer data to be Arrays of integers and not a String.

Took me forever to figure out why https://github.com/colinvella/phaser-tilemap-plus-demo was working, but my map wasn't...! 😆

nemoDreamer avatar Dec 08 '17 03:12 nemoDreamer

I had the same problem. Thank you!

xtt13 avatar Dec 08 '17 09:12 xtt13

Noted: Updated README will be included in the next release with a section on supported formats.

colinvella avatar Dec 10 '17 11:12 colinvella