Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Help with a race game???

Author
Message
ScottyB
18
Years of Service
User Offline
Joined: 26th Jul 2007
Location:
Posted: 21st Mar 2010 00:34
I just started makeing a race game and it behaves like
old school night driver and something like pole position.

Here's what I got.
The race track move from zfar to znear.
It also rotates at zfar to give curves.
You drive the car by moveing x2d points right-left.
It converts 3d points to 2d.
Not bad but....

I would like to make a path for it to follow.
Like a track pre-defined.
Except 123
I don't know how to make a squiggly line that goes in a circle???

Can someone please help me without makeing it to complicated??
like bezier circle or the likes???


thanks
peace
and
out!
bitoart
22
Years of Service
User Offline
Joined: 20th Nov 2003
Location: California
Posted: 21st Mar 2010 09:06
I would suggest you work with what you have. How about, after the player has traveled about several turns, you duplicate the track and landmarks graphics, particularly a bold start line. You can even add to the illusion my adding an "overhead map" of the existing road course with a marker for the car's position - yet you add a gradual bend till completes a 360 degree turn.

Login to post a reply

Server time is: 2026-07-26 21:12:32
Your offset time is: 2026-07-26 21:12:32