Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Tile Layer Format" matters! #3

Open
2 of 5 tasks
nemoDreamer opened this issue Dec 8, 2017 · 2 comments
Open
2 of 5 tasks

"Tile Layer Format" matters! #3

nemoDreamer opened this issue Dec 8, 2017 · 2 comments

Comments

@nemoDreamer
Copy link

nemoDreamer commented Dec 8, 2017

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

  • XML
  • Base64 (uncompressed) supported by Phaser.Loader
  • Base64 (gzip compressed) unsuported by Phaser.Loader
  • Base64 (zlib compressed) unsupported by Phaser.Loader
  • 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...! 😆

@xtt13
Copy link

xtt13 commented Dec 8, 2017

I had the same problem. Thank you!

@colinvella
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants