Z buffer problem in a 2.5D engine similar to monument valley [closed]
I'm making a 2.5D engine in scratch which is similar to but not the same as that of monument valley(a mobile game). The blocks are shown in the image(drawn to scale) I have worked out four cases in which i haveto sort out the order of rendering the blocks. But I'm not able to work out the priority order of the four cases. I'm coding it in scratch,but if u tell the logic I'll implement it myself.
![Z buffer problem in a 2.5D engine similar to monument valley [closed]](https://i.sstatic.net/OlHwug81.jpg)
I'm making a 2.5D engine in scratch which is similar to but not the same as that of monument valley(a mobile game).
The blocks are shown in the image(drawn to scale)
I have worked out four cases in which i haveto sort out the order of rendering the blocks. But I'm not able to work out the priority order of the four cases. I'm coding it in scratch,but if u tell the logic I'll implement it myself.