Closed PentaHelix closed 8 years ago
I'm pretty sure this issue is because at https://github.com/underscorediscovery/luxe/blob/master/luxe/tilemaps/Ortho.hx#L184 , each tile has the same depth, not a different depth depending on the layer it is in. My guess is that they are only sorted in the order in which they ware added /change, which changes when I change the tile id.
Sorry for the delay on replying here @PentaHelix , let us know if the fix helps your use
Yeah that fixed it, thanks :)
This example uses tiles.png:
Clicking on the tilemap changes the tiles id on layer 2, but the tile shows up above layer 3