Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

What would be a good approach to develop the render system for an oldschool type racing game that uses a pseudo 3D scenery, like for example Outrun or Lotus Esprit Turbo Challenge? There's an endless scrolling road and scenery graphics are placed like billboard items, etc. I think you get the idea.

Screenshot from Lotus: The Ultimate Challenge

Are these developed in a similar way like Mode7 or is there a different technique behind it? Does the technique has a specific name I could search for on the web? I need to develop something like that in Flash.

share|improve this question

2 Answers 2

up vote 17 down vote accepted

There's an excellent article out there that explains the 3D rendering of these games in detail. And you'll also find a complete implementation in JavaScript here.

The basic idea is as follows: You divide your screen into a number of strips and use perspective-projection to calculate the texture-coordinates (scaling and y position inside the road-texture) for each strip. Then you draw the portion of the texture into the strip, resulting in a road that vanishes in the distance.

share|improve this answer
    
Awesome! Thanks! –  loungelizard Feb 19 '13 at 8:16
    
great article, thanks for linking –  Ken Feb 21 '13 at 22:41

They generate pseudo 3D scenery by using perceptive. They have a vanishing point at the center of screen. You can calculate by using perspective projection.

share|improve this answer
1  
I think you meant "perspective", not "perception". –  Panda Pajama Feb 19 '13 at 8:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.