MonoGame.Extended icon indicating copy to clipboard operation
MonoGame.Extended copied to clipboard

[Tiled] Tiles render in the wrong order.

Open Uraxys opened this issue 3 years ago • 1 comments

No idea if the title fits the issue, but I didn't come up with anything better.

The problem: If you have a tile set that contains larger tiles than the map tiles (Example, you have a tile set containing tiles that are 32 x 16 pixels, while the map is 16 x 16 pixels), then the larger tiles might be rendered under other tiles.

It's hard to explain, so here is a picture showing the issue: Tiled tiledImage Game gameImage

I'm going to guess this is caused by the TiledMapLayerModel for the trees are being rendered before the rocks, but changing this wouldn't fix the issue (from my understanding), as rocks might be in front of trees and the other way around.

Uraxys avatar Jun 21 '21 11:06 Uraxys