Posted By:
Christopher_Schultz
Posted On:
Wednesday, October 23, 2002 11:08 AM
Every time you repaint the panel, you'll need to decide which figure goes on top. Just draw that one last.
A typical technique is to maintain a z-value for each of your figures (that is, the z-coordinate, which sticks out of the screen towards your face). Then, you just keep that list sorted by z-value and draw them from lowest to highest value.
-chris