Sign in to follow this  
giuseppe73

2d question

Recommended Posts

giuseppe73    122
i'm looking for a good 2d racing car algorithm, how to handle the road, one like the old wonderful amiga game lotus, i think it was the best 2d racing game ever realized, any suggestions or where to find infos? sorry for the english............thanx in advance!

Share this post


Link to post
Share on other sites
NickGravelyn    855
Link 1
Link 2

Also consider using an existing library such as ODE and simply constraining one of the axis to simulate 2D.

EDIT:
Were you talking physics or something like an AI algorithm? Sorry if you weren't talking about physics, but that's what I thought you were.

Share this post


Link to post
Share on other sites
giuseppe73    122
Uhm...my question was for a technique how to handle the render of road not for car phisics, just how to render the road using 2d grafix, what's the algorithm used by lotus turbo esprit to render the road?
Thanx anyway dude!!!

Share this post


Link to post
Share on other sites
Ezbez    1164
Yeah, that first post was a little vague, I thought what Nick thought.

I don't know about that specific game, but aren't bitmaps enough? You can create the different road parts and just piece them together to create a new road. Or bezier(sp?) curves. Or, if you're doing 2D in OpenGL or DirectX, you could make the road out of alot of triangles.

Share this post


Link to post
Share on other sites
giuseppe73    122
Yup, i think original algorithm was using simple road 2d lines stretched by z distance.......uhmm.... i've made some tests but not good enough results..............i've problem with curves...........

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this