Hello, I’m working on simple isometric engine. But I don’t understand how to convert coords of objects from Tiled to cartesian coords. For example:
I’m using a simple formaula for drawing tiles:
screen.x = (map.x - map.y) * TILE_WIDTH_HALF; screen.y = (map.x + map.y) * TILE_HEIGHT_HALF;
Could you please provide a formula for converting or a basic algorithm how work coords in Tiled?