Max Tile Count?

I’m working on an engine to load TMX files on Android and the .TMX documentation mentions that values in should be interpreted as unsigned 32-bit integers. Since the first 3 bits determine tile orientation, is it safe to assume that there is a max of 2^29 possible tiles per map or are there additional bits reserved for other flags?

There are no bits reserved, but that is no guarantee that no more flags will be used in the future. I wouldn’t currently know what else to store though.

Good luck with the engine!

1 Like