Im working on a side scrolling beatem up, like a double dragon type of game. Since you're moving up,down,left and right I need to have objects overlap each other the right way..However they dont.
I pretty much used the simplest way I could think of which was " Y position of Active1 greater than Y position of Active2, + Active1 is overlapping Active2 = Bring Active1 to front"
That works pretty good until more objects are on the screen and then it just ignores the command making it look all messed up.
Im almost positive there is a better way, can anyone help me?