Jump to content
  • Advertisement
Sign in to follow this  

Racing Game-Please Help Me :)

This topic is 4069 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I'm building a racing game in c++, using OpenGL. I've already loaded a 3ds model of a car. My question is how can i create a map to my game? it doesn't have to be pretty it can even be an highway/road with no background. Please give me the easiest way to it, if anyone can give me an open source code of what i'm looking for i'll be grateful.

Share this post


Link to post
Share on other sites
Advertisement
There is a book called "Start Your Engines" by Jim Parker (ISBN:9781933097015) which covers practically everything about making racing games.

You might want to check it out at your local bookstore for ideas.


On the other hand, if you just want something your car can drive on, just render polygons for the ground and use collision detection. If the car is on a polygon, you can move it. If not, it falls off the screen.

The easiest way to create a racing track would be to model something in a 3D app and save it in obj format, then load it in your game.

Share this post


Link to post
Share on other sites
thanks man. Can anyone give me an open code example of creating and rendering a map?
I've searched a lot but haven't fount yet.

Share this post


Link to post
Share on other sites
Get a 3DS model of Daytona Race-Track here

-- link removed --

Enjoy ;-)

Limited time offer, I'm removing the link later [wink]

[Edited by - darren_mfuk on March 26, 2007 8:06:54 AM]

Share this post


Link to post
Share on other sites
Thanks for the model. :) :) :)
I took Nehe's routine for creating an OpenGL window and combined it
with a 3ds loader.
The program displayed the model but not properly.
I'm working with Visual studio 2003 .NET, I've Uploaded the program:

http://www.badongo.com/file/2573951

Please Take a look I'm sure it's something simple

Share this post


Link to post
Share on other sites
Quote:
Original post by Kuroahiru
There is a book called "Start Your Engines" by Jim Parker (ISBN:9781933097015) which covers practically everything about making racing games.


Except that it doesn't. It has one chapter (on physics) which is remotely useful for racing games, the rest of the book is, IMO, an appallingly put together waste of paper. It takes about six chapters before it even starts talking about time (when I'd have thought that time would be the second most important thing in racing games) and the first few games it puts together have no relation to cars (cars being, you'd have thought, the number one most important thing in racing games).

My advice is to avoid that godawful excuse for a book like the plague. It's just plain rubbish.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!