phaser-tilemap-plus
phaser-tilemap-plus copied to clipboard
"Tile Layer Format" matters!
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...! 😆
I had the same problem. Thank you!
Noted: Updated README will be included in the next release with a section on supported formats.