I've made a game that lets a player move around in 2d space. The current view is from above, looking directly down at the player. What I'd like to add is the ability to transition the view from above into a 2.5d perspective. Basically I want to take the top view and turn it into a horizon. Think of it like going from the view in Frogger to a more FPS style view.
So how do I take the X and Y coordinates and convert them into a pseudo 3d point? I've seen some examples on how to turn a 2d point into a 3d point, but I don't know how to apply that to something that's completely 2d.
Anybody have any examples or code that could help me accomplish this?
You can set the height of the item by object. Something like "the floor has height 0; a character has height 1" and so on.
This is the simplest you can get; for more complex height mappings I think you have no choice but have a 3D model for each item on screen.