I'm trying to make a tile map in libgdx. I have made all the tile images and used TexturePacker2 to pack them. When I load the game, it is rendering the map but using the wrong tiles. It appears to be using column first indexing while Tiled Map Editor is using row first.
For example, my packed tile image is a 5x5 grid. I used the tile at the 3rd row, 5th column (saves as 15) in the editor and then libgdx has used the tile at the 5th row, 3rd column.
What am i doing wrong?