Feb-02-2020, 06:42 PM
I just spent some time looking around. And here
Is it maybe this x, y, that needs converting "accordingly"? This means some sort of offset?
https://readthedocs.org/projects/tiled/downloads/pdf/stable/
I found this:Quote:For most map types, objects are positioned in plain pixels. The only exception to this are isometric maps (not isometric staggered). For isometric maps, it was deemed useful to store their positions in a projected coordinate space. For this,the isometric tiles are assumed to represent projected squares with both sides equal to the tile height. If you’re using a different coordinate space for objects in your isometric game, you’ll need to convert these coordinates accordingly
Is it maybe this x, y, that needs converting "accordingly"? This means some sort of offset?
if tile: surface.blit(tile, (x * self.tmxdata.tilewidth, y * self.tmxdata.tileheight))