Skip to content

Tile Map#210

Open
SquareLi wants to merge 1 commit intoaduros:masterfrom
SquareLi:TileMap
Open

Tile Map#210
SquareLi wants to merge 1 commit intoaduros:masterfrom
SquareLi:TileMap

Conversation

@SquareLi
Copy link

Added Tiled Map Editor Support.
Support all data formats : XML, CSV, base64, base64(gzip) and base64(zlib).
Support two types of map : Isometric and Orthogonal(does not support isometric staggered)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered using haxe.crypto.BaseCode instead of maintaining your own base64 implementation?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I tried BaseCode.decode(), but it does not work.
My base64 string is "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".
but the BaseCode requires that base length must be a power of two. Then I tried to removed the "=", but the result of decode is empty.

@anissen anissen mentioned this pull request Apr 10, 2014
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

Successfully merging this pull request may close these issues.

2 participants