jujubs
Member
So I've followed this very classic post by like100bears on doing fake 3D using 2D sprites. It works very well. However, when my objects start overlapping, they seem to appear onscreen on the order that I've put them in the room. I'm drawing a few columns and they just appear on top of the ones that should be in front.
How could I go about fixing this? I thought about sorting objects by height on the Y axis, but I have no idea on how to go about that.
I also want to rotate the room, and I'm 90% that the rotation will mess everything up again even if I find out how to sort it like this.
How could I go about fixing this? I thought about sorting objects by height on the Y axis, but I have no idea on how to go about that.
I also want to rotate the room, and I'm 90% that the rotation will mess everything up again even if I find out how to sort it like this.