In a normal top-down 2D game one could use the screen y axis to sort the images. In this example the trees are properly sorted but the isometric walls are not:
Wall 2 is one pixel below wall 1 therefore it is drawn after wall 1, and ends up on top.
If I sort by the isometric y axis the walls appear in the correct order but the trees do not:
How do I do this correctly?
No comments:
Post a Comment