Hello, I want to read the JSON file exported by tiled.
I need to know what field or property indicates if a tile is rotated and in which angle and direction (horizontal / vertical) is rotated ?.
There is no explicit rotation bit, but from the three flipping bits you could derive the rotation if you need it (just note that the tile isn’t only rotated, but may also be flipped).
Hello, thanks for the information.
Please, I have a misunderstanding with this information:
bit 30 indicates whether the tile is flipped (anti) diagonally, enabling tile rotation.
What does it mean? What should I do if that bit is 1?
Should I rotate the tile 90 degrees?