I’m having trouble interpreting how flipping or rotating a tile changes its numerical value in the exported .json file. It looks as though it adds a number that’s based upon the Int32 max value, but it’s not clear how it determines what to add to each tile value. I’ve tried searching the documentation, but there doesn’t seem to be any mention of how the exported files are constructed. Does anyone know?
It sets bit flags, each bit corresponds to a particular type of flip (horizontal, vertical, diagonal). The documentation has more info, and sample code for parsing the tiles: https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#tile-flipping
1 Like
This is exactly what I needed. Thank you!