colinvella / phaser-tilemap-plus

Tilemap animations, physics, events and custom property enhancements for Tiled JSON map files
MIT License
71 stars 5 forks source link

"Tile Layer Format" matters! #3

Open nemoDreamer opened 6 years ago

nemoDreamer commented 6 years ago

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

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...! 😆

xtt13 commented 6 years ago

I had the same problem. Thank you!

colinvella commented 6 years ago

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