Okay, so I'm working on a pseudo-3D game. I've got some basic coding done for a few weapons and an enemy A.I.
What I can't figure out, is how to correctly make the perspective. What I mean is, I want to make it so when an enemy is closer to the bottom of the screen, his sprite appears in in the foreground, and when an enemy is behind you, you're in the foreground. I can't figure out how to get this to work when there's more than 1 enemy on the screen.
Any suggestions? Is it even possible? Please try to help.