Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 A 3D racing game I made
Index -> Programming, C++ -> C++ Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Prads




PostPosted: Wed Jul 06, 2011 9:16 pm   Post subject: A 3D racing game I made

This is the first 3d game game and also the first directx program I have ever written so it's kinda amateurish. haha You can download it from here: http://www.pradsprojects.com/seamracing.html

Here are some screen-shots:
http://i2.photobucket.com/albums/y6/pradipna/5.jpg
http://i2.photobucket.com/albums/y6/pradipna/4.jpg
http://i2.photobucket.com/albums/y6/pradipna/3.jpg
http://i2.photobucket.com/albums/y6/pradipna/2.jpg
http://i2.photobucket.com/albums/y6/pradipna/1.jpg

It is written in C++ from scratch with DirectX API and XAudio2 for sound. You can also check out my other projects on that website. Smile
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Wed Jul 06, 2011 11:40 pm   Post subject: RE:A 3D racing game I made

From the screencaps it looks all right. Did you create the models yourself? They're pretty spiffy, considering it's your first 3D game.

Does DirectX not include XAudio? I was under the impression that DirectX was an 'all-in-one' of Direct3D, DirectSound, DirectDraw, etc. Is XAudio2 better than what is included in DX10/11?

Now, I've got to see if I can port this with Wine!
Prads




PostPosted: Thu Jul 07, 2011 12:08 am   Post subject: RE:A 3D racing game I made

Thanks, some of the 3d models are made by me (houses, environment and stuffs) with Google Sketchup but all car models were made by this guy: http://sketchup.google.com/3dwarehouse/search?uq=1833496710026168429506043&scoring=m

Yeah SDK version since March 2008 comes with XAudio2 I guess. XAudio2 is replacement of DirectSound which isn't included in release of the DirectX SDK since November 2007. Newer version also comes with XACT which is easier to program with than XAudio2, the only drawback is that with XACT you have to use the Audio tools that comes with SDK to create wave banks and sound banks. You could go code driven too if you want to but XACT is very buggy when code driven.
Insectoid




PostPosted: Thu Jul 07, 2011 12:24 am   Post subject: RE:A 3D racing game I made

What version of DirectX did you use? I'm trying to port your game, for my own fun, and it helps to know :p.
Prads




PostPosted: Thu Jul 07, 2011 12:50 am   Post subject: RE:A 3D racing game I made

DirectX 9.0c February 2010. Good luck with the port. Smile
Insectoid




PostPosted: Thu Jul 07, 2011 9:14 am   Post subject: RE:A 3D racing game I made

Do you think you could upload a config file with the resolution 1440x900? My tools don't 'seam' to like config.exe. I'll probably end up reverse-engineering config.exe and re-writing it to be platform-independent.
Prads




PostPosted: Thu Jul 07, 2011 11:24 am   Post subject: Re: A 3D racing game I made

I have attached the config file, just put it in the folder. If your hardware doesn't support that resolution, game will give error or just crash on startup.

And if you want I can just give you the source code to config tool, that way you don't have to reverse engineer anything. Wink



parameters.7z
 Description:

Download
 Filename:  parameters.7z
 Filesize:  187 Bytes
 Downloaded:  456 Time(s)

Display posts from previous:   
   Index -> Programming, C++ -> C++ Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: