Breserk wrote:If I only didn't need to program it in three dimensions. The way I see this, the only way to do it is to program a 3-d game that has a Z axis of about 5-10 pixels and then putting the camera in a way that'd look to X+ direction, at Z=2 or something like that.
I only program 2-d.
Well, it's possible to do that without 3D technology.
Look at a typical 2D Sonic game for instance. Well, you're facing right.
Now here's how to convert the view from 2D 3rd person to 2D 1st person.
1. Get rid of all the pixels left of the character's eyes.
2. Now, make each column smaller. For the column X pixels along in a view of Y pixels width, multiply the column's height by (Y-X+1)/Y.
3. Overlap the columns, with the leftmost one being in front, and the rightmost one being at the back.
4. Finally, stretch the now-1-pixel-wide picture so it fills the entire screen.
See? Not that hard is it?
Also, to change a world without height to 1st person (say an RPG game):
1. Rotate the whole world so that your character is facing upwards.
2. Get rid of all the pixels below the character's eyes.
3. Make each row smaller. For the row X pixels from the top in a view of Y pixels height, multiply the columns height by X/Y.
4. Overlap the rows, with the bottommost one being in front, and the topmost one being at the back.
5. Finally, stretch the now-1-pixel-high picture so it fills the entire screen.
That's a bit harder, but still easy.