Hello. I am running into problems when sorting my objects, well all is fine until an object takes up a certain amount of “height” as in Y pixels.
Here’s sort of what I am aiming at : http://retromedia.ign.com/retro/image/article/910/910219/dream-arcades-20080915023523710.jpg
Best solution I found so far is using an sorting strictly on an objects ScreenY position (getScreenY+getHeightInPixels)… to sort of find the “feet” of the player. But this does not work if an object (a house for example) is several tiles wide, since then when I walk along side it I will obviously get above the house lowest point while I am still in front of it, which makes the house draw over my character.
I’ve googled my eyes out, but only found some Flash AS3 examples etc, I do not know flash unfortunately.
I mean really, there must been many Isometric games made in Java, can’t someone help me out here?