Handling flipped/mirrored tiles
zilti opened this issue · 2 comments
zilti commented
Adding a flipped and/or mirrored tile causes the encoded number to be too big for an int (e.g.: 2147483651), making tile-soup fail while parsing a tmx file.
On top of that, is it in or out of tile-soup's scope to decode the bitmask for flipping? See https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#tile-flipping.
oakes commented
Already supported :D
https://oakes.github.io/tile-soup/cljs/tile-soup.core/tile-id-'g'map.html
I'll check out your pr soon, thanks
…On Sat, Sep 12, 2020, at 7:43 AM, Daniel Ziltener wrote:
Adding a flipped and/or mirrored tile causes the encoded number to be too big for an int (e.g.: 2147483651), making tile-soup fail while parsing a tmx file.
On top of that, is it in or out of tile-soup's scope to decode the bitmask for flipping? See https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#tile-flipping.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#2>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABUYU3R56G4EO7NZWTZP6LSFNNFPANCNFSM4RJNJ4EQ>.
oakes commented
I pushed 0.4.2 to clojars with your fix, thanks.