Open nemoDreamer opened 6 years ago
It's worth mentioning in the README that Tiled's "Tile Layer Format" matters when wanting to enable animations:
Phaser.Loader
Basically, the JSON needs it's layer data to be Arrays of integers and not a String.
data
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.
It's worth mentioning in the README that Tiled's "Tile Layer Format" matters when wanting to enable animations:
Phaser.Loader
Base64 (gzip compressed)unsuported byPhaser.Loader
Base64 (zlib compressed)unsupported byPhaser.Loader
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...! 😆