Important alert: (current site time 7/16/2013 3:01:53 AM EDT)
 

winzip icon

Racing Game 3D

Email
Submitted on: 11/21/2006 7:28:14 AM
By: fabio calvi  
Level: Intermediate
User Rating: By 101 Users
Compatibility: VB 6.0
Views: 37372
 
     A cool real 3D Racing Game. It looks like LUDORACE, LEGO RACERS, SUPER MARIO KART and so on. Have fun! DirectX7 or higher needed. For other vb games and demos visit my web site: http://web.tiscali.it/fc_vbgames/index.html

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 13 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

2/16/2003 1:55:25 PMTomas Tupy

NICE JOB!!!

(If this comment was disrespectful, please report it.)

 
2/16/2003 1:56:16 PMTomas Tupy

NICE JOB!!!
ITs a little slow, but thats probably cause of my 16MB graphics card. Deserves 5 globes!

(If this comment was disrespectful, please report it.)

 
2/16/2003 2:27:14 PMKenneth Foster

I'm running 98SE and directX 7 and I get an automation error on load.Does this need to be compiled before using it?
(If this comment was disrespectful, please report it.)

 
2/16/2003 3:45:58 PMCoding Genius

I'm not easily impressed...but this my friend, is impressive. Definetly 5 globes. Nice work ;)
(If this comment was disrespectful, please report it.)

 
2/16/2003 3:53:26 PMJeff Taylor

Nice... Nice... It's good to see something other than the regular stuff.

Ken, yea, you probably need directx 8.0.

(If this comment was disrespectful, please report it.)

 
2/16/2003 4:13:13 PMJay1_z

I must say that it is not often that you see a program of this caliber on Planet Source. 5 GLOBES ALL THE WAY!!!!!
(If this comment was disrespectful, please report it.)

 
2/16/2003 8:26:23 PMlagware

Amazing. This is some great stuff, definitely 5 globes. (BTW, this runs really fast on my Win2000, GeForce4 Ti4200, DX 8.1)
(If this comment was disrespectful, please report it.)

 
2/16/2003 10:49:17 PMChris Bradley

F-A-N-T-A-S-T-I-C
(If this comment was disrespectful, please report it.)

 
2/16/2003 11:41:15 PMJames Dougherty

Nice job here! I don't know if the FPS is correct because it displayed 16-20 FPS. I tried it on XP Pro, 512 ddr ram, 128 mb ddr ATI Radeon 9500 Pro. It runs really fast and smooth thats why I say that. Never the less superb work. 5/5 easy

-James-
(If this comment was disrespectful, please report it.)

 
2/17/2003 3:15:41 AMEddyPearson

First Ever Racing Game On PSC. 5 Globes
(If this comment was disrespectful, please report it.)

 
2/17/2003 3:48:47 AMDeepak Kumar Shaw

this is really very nice...
5 from me.
(If this comment was disrespectful, please report it.)

 
2/17/2003 4:40:08 AMlvlhed

5 g's here! very nice...
(If this comment was disrespectful, please report it.)

 
2/17/2003 6:07:51 AMfabio calvi

Kennet, it's not necessary to compile the application (but suggested: more speed); however, if Mesh and Audio dirs are on and full try to comment all the lines about 3DSound and run. Let me know about this.
(If this comment was disrespectful, please report it.)

 
2/17/2003 11:09:35 AMScythe

Kenneth i also get an error. Seems to be some win98 incompatible code


(If this comment was disrespectful, please report it.)

 
2/17/2003 12:08:11 PMScythe

I cant fix it (I´m not DX freak)
The error comes here RMC.StartWindowed
Exact in function DDraw() as DirectDraw4
Maybe someone finds out why ?

(If this comment was disrespectful, please report it.)

 
2/17/2003 8:29:07 PMMatías Radzinski

When I try to compile it I get an Automation Error, Why ???, About the code, five from me !!!! :) It's amazing
(If this comment was disrespectful, please report it.)

 
2/17/2003 11:06:28 PMDhaval Faria

really an excellent...

it compiles very fast.. and also it runs very smooth.. excellent.. 5 globes from me..
(If this comment was disrespectful, please report it.)

 
2/18/2003 2:08:50 AM

i love the game! very nice!!!
5 big ones from me
(If this comment was disrespectful, please report it.)

 
2/18/2003 2:38:28 AMfabio calvi

X Scythe
Do you have hardware acceleration? If the answer is yes, probably the problem is on Display Mode;
You, Kennet and Mathias can try to comment this two lines below:

If Not (m_dd Is Nothing) Then mm_dd.RestoreDisplayMode
If Not (m_dd Is Nothing) Then m_dd.SetCooperativeLevel 0, DSCL_NORMAL

in the InitWindowed function of the BDirectX class module.
Let me know about this, bye.


(If this comment was disrespectful, please report it.)

 
2/18/2003 4:00:47 AMRobert Rayment

Fails in Form_Load at SetBackGround(.. with RTError 5,(Invalid procedure... Suspect my graphics card too old??
(If this comment was disrespectful, please report it.)

 
2/18/2003 4:32:26 AMRobert Rayment

Or incompatible with Win98!
(If this comment was disrespectful, please report it.)

 
2/18/2003 5:25:33 PM

Im gunna take a look, loots hot.
5 stars
(If this comment was disrespectful, please report it.)

 
2/19/2003 7:01:58 AMM a t t = H a l l

Looks tasty, will try it later on my fast comp at home and will vote accordingly :)

Matt

[ Ð $ ] Ð â |2 k $ i Ð 3
http://darksideispn.no-ip.com

(If this comment was disrespectful, please report it.)

 
2/19/2003 4:52:21 PMChristopher Rouse

great graphics but it plays to fast how about a fps limiter.
(If this comment was disrespectful, please report it.)

 
2/21/2003 12:05:28 PMCodeFester

5 ballz for you. Its a little like a day light version of doom. really nice work. thanks for posting.
(If this comment was disrespectful, please report it.)

 
2/21/2003 2:46:20 PMBrenton Bailey

This is easily the best racing game i've ever seen on PSC. Great work
(If this comment was disrespectful, please report it.)

 
2/22/2003 6:41:24 AMUnruled Boy

the speed is just toooooo slow!
(If this comment was disrespectful, please report it.)

 
2/22/2003 6:17:34 PM

Didn't know Visual Basic was capable of this, guess I know now. Down right outstanding... 5 from Me
(If this comment was disrespectful, please report it.)

 
2/23/2003 7:33:22 AMTeo

WOW! Good job! Hai fatto proprio un bel lavoro! ;)
(If this comment was disrespectful, please report it.)

 
2/23/2003 2:10:07 PMVlad Vissoultchev

when moving backwards you can pass through the walls :-))

just my $.02

</wqw>
(If this comment was disrespectful, please report it.)

 
2/23/2003 6:52:07 PMLeonid Etkin

Wow! This game is extremely good relatively to usual VB games

sadly, it works very slow on my computer...
(If this comment was disrespectful, please report it.)

 
2/24/2003 2:19:01 PM

This code is awesome, i'll give you five
(If this comment was disrespectful, please report it.)

 
2/26/2003 10:33:25 AM

Hi men (or boy as you like)
yourgame is incredibly good, me i am a quite good professional programmer (i made few commercial softs) but one day i started making a game in directX 8.1 and then i realised that i am a poor artist and poor 3d modeler !
THan i started learning Bryce 3D and 3D Max 4, i finally reached a quite quite level.
Bla bla bla bla ....
At conclusion i would like to PARTICIPATE to your project! Mail me at karim_jouini@yahoo.com ! i am waiting for your mail ! CIAO
(If this comment was disrespectful, please report it.)

 
3/7/2003 3:40:17 PMAmer Khreim

U must win 5 from me
(If this comment was disrespectful, please report it.)

 
3/29/2003 9:52:15 PMThe New iSoftware Company!

Havent tried yet, but this would be something to port to .net and dx 9!
(If this comment was disrespectful, please report it.)

 
3/30/2003 3:14:03 PM80 SpitFire 08

All i get is LOADING...
(If this comment was disrespectful, please report it.)

 
3/30/2003 8:46:01 PM

I'm having the same problem as others with Win98. I stepped through the app and found that it crashes in frmMain at the following command:

Set Background = RMC.DDraw.CreateSurfaceFromFile(App.path & "\back.bmp", dds)

If I comment that out, it doesn't crash, but just sits at "LOADING" with the music playing in the background.
(If this comment was disrespectful, please report it.)

 
3/30/2003 11:57:12 PMShukri Zahari @ Win32 Developer

Can you make a skateboarding game?
(If this comment was disrespectful, please report it.)

 
3/31/2003 1:34:56 AMfabio calvi

Hi.
With Win98, you have to comment
this line command:

Set Background =
RMC.DDraw.CreateSurfaceFromFile(App.path & "\back.bmp", dds)

in the frmMain, but also this command too:

m_backBuffer.Blt REC(0, 0, 0, 0), Background, REC(bakm, 0, bakm + m_rmViewport.GetWidth / 2, m_rmViewport.GetHeight), DDBLT_WAIT

in the BDirectX class module.

Hope this can help you.
(If this comment was disrespectful, please report it.)

 
3/31/2003 8:33:42 AMAlpha Binary

Looks very interesting.
5 globes in advance.
(If this comment was disrespectful, please report it.)

 
3/31/2003 9:47:13 AM

Great code, but is very slow (not playable) unless your video card supports hardware acceleration. I still give 5 globes though. Nice work.
(If this comment was disrespectful, please report it.)

 
3/31/2003 10:28:56 PM

Your program is very nice but i have a problem

I wish I could play your program

I'm using W2K

Problem: Error Creating backbuffer bla....: - try setting Use3Dhardware = FALSE

When i add in your code "+ err.description" for the error it states "Automation Error"

cris

(If this comment was disrespectful, please report it.)

 
4/2/2003 7:26:00 AMRoger Gilchrist

Great stuff! Irritatingly addictive.
Try
If Val(Right(appo, 3)) > 8 And Val(Right(appo, 3)) < 112 Then
instead of
If appo = "bloc_009" Or appo = "bloc_010" Or appo = "bloc_011"...(over 100 'Or' statements and string Compares)... Then

(If this comment was disrespectful, please report it.)

 
4/2/2003 10:48:10 AMDuck Master

a have the same problem whit xp and win 98 Set
Background =
RMC.DDraw.CreateSurfaceFromFile(App.path
& "\back.bmp", dds)

(If this comment was disrespectful, please report it.)

 
4/3/2003 6:25:56 AM{ pHroZeN GeeK }

hi... great code. can u tell me how to convert 3D studio max files (.3ds) to directX files (.x). I heard that we can do this using 3dsco. if so, then can u please tell me where I can find it and how to use it.

btw, great code. 5 from me

(If this comment was disrespectful, please report it.)

 
4/7/2003 3:07:19 PM

Nice job, a five from me!
The size of it all is impressive!
(If this comment was disrespectful, please report it.)

 
4/19/2003 1:58:21 PMMark Randall

I award you the title of best source code ive seen to date. 5 globes!!

- Mark
(If this comment was disrespectful, please report it.)

 
5/5/2003 8:31:27 PM

HOLY SHIIIIIIIIIII...!!!!!
This is wild......good goin man!!!!!
Great code
5 globes
(If this comment was disrespectful, please report it.)

 
5/16/2003 6:03:33 PMCola-Kattn

Lok-Tar-o-Gar!
This is good, this is good!!
I'd give you 14 globes if it was possible but its not. so lets go for 5!
(If this comment was disrespectful, please report it.)

 
5/16/2003 7:16:55 PMnagakeciks

yes, you deserver the award, and the 5 globe
(If this comment was disrespectful, please report it.)

 
5/17/2003 9:28:41 PM

very nice and very original runs a little laggy on my TNT 2 RIVA 16M but none the less very good. This is something i can really learn from, ill give you__--==++ 5 {[(FIVE) GLOBE]}++==--__ very well done :)
(If this comment was disrespectful, please report it.)

 
5/18/2003 7:01:01 AM

What map editor do you use? thanks

It's great!! It's very nice!! 5 globes for you ;-)
(If this comment was disrespectful, please report it.)

 
5/18/2003 7:04:09 AM

WOW!!! This game is very nice!! is te best of the world!!! ;-) 5 globes

Wich program use to make X files? thank you!!


(If this comment was disrespectful, please report it.)

 
5/21/2003 2:24:52 PMNass ClickMan

Where did you find the textures?
(If this comment was disrespectful, please report it.)

 
6/2/2003 10:48:57 PMBlake Benthall

very nice - to convert 3ds files to Direct-X, use the tool provided on Microsoft's website
(If this comment was disrespectful, please report it.)

 
6/3/2003 1:00:08 AM

whenever i start to play this game, it gives me an error 'Error in creating backbuffer in current window size - try setting Use3DHardware=FALSE'

I set the Use3DHardware=FALSE and it worked fine, but the game was very slow. Can anyone help me pls...
(If this comment was disrespectful, please report it.)

 
6/3/2003 9:10:46 AM

Excellent Code, One of the best that I have seen. 5 G's. Well Done Jamie !!!
(If this comment was disrespectful, please report it.)

 
6/14/2003 3:08:34 AM

Excellent game!, but I have a question:
Which is the name of the used tool to turn the files 3d to direct-x?

(If this comment was disrespectful, please report it.)

 
7/14/2003 11:08:48 AM

Very nice. i gave it 5 stars. I only found one wall leak where i raced around the outside of the map, but unfortunatly i was lost at the time and can't remember exactly where it is.
(If this comment was disrespectful, please report it.)

 
8/11/2003 4:36:27 PMJamesJD

Great Fun!
(If this comment was disrespectful, please report it.)

 
9/13/2003 4:48:45 PMYehia Muhsen

Beautiful ... This is the best 3D game i've ever seen on PSC... Excellent job.
(If this comment was disrespectful, please report it.)

 
10/17/2003 5:28:37 PMAlex Claas

WHOA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!OMG< /span> THE BEST GAME.
(If this comment was disrespectful, please report it.)

 
10/18/2003 3:32:55 PMWiktor Toporek

Excellent !
(If this comment was disrespectful, please report it.)

 
10/30/2003 10:48:15 AM

doesnt work on 98, pity
(If this comment was disrespectful, please report it.)

 
3/1/2004 1:22:32 AMEmiliano Scavuzzo

Great game!
(If this comment was disrespectful, please report it.)

 
4/21/2004 6:51:33 AMJames J. Kelly Jr.

Nice but... doesnt anybody around here use DirectX 8?
(If this comment was disrespectful, please report it.)

 
9/23/2004 9:39:41 AMM@rk

I like your job, boi.
Keep going so.
(If this comment was disrespectful, please report it.)

 
10/19/2004 8:26:00 AMGreek Freak

this thing just rocks!....you mind wanna know that someone has copied your project....find him...
(If this comment was disrespectful, please report it.)

 
10/19/2004 9:50:13 PMPaul Turcksin

Don't think you need another fiver, but you can 'thank' ARUN "the thief" KISH
(If this comment was disrespectful, please report it.)

 
12/22/2004 12:18:27 AM

man this is great you did a wonderful work good job!!!!!!!!!!!!!!!!!!
(If this comment was disrespectful, please report it.)

 
12/22/2004 10:55:30 PM*JJ*

I also get an error on Win 98... but after compiling the project, it ran successfully. And I must say... this is very impressive work for VB.
(If this comment was disrespectful, please report it.)

 
7/11/2005 3:22:35 PMAmine Haddad

Great game! Just a bit too fast on my computer when I turn it turns too quickly. I'll give it a try to fix it when I get some free time, and as for the win98 compatibility problem, upgrade your machines! I mean come on guys, windows 98 is almost 9 years old :P

*****
(If this comment was disrespectful, please report it.)

 
8/16/2005 9:27:17 AMLarry James Ochoa M.

Cool, good collision.
(If this comment was disrespectful, please report it.)

 
8/16/2005 9:29:50 AMLarry James Ochoa M.

Very good!!!
(If this comment was disrespectful, please report it.)

 
12/31/2005 8:16:08 PMMatt DeKok

I'd like to give you a 10, but I'll have to settle for a 5.
(If this comment was disrespectful, please report it.)

 
1/20/2009 9:57:47 PMglenn

aus lng..nice..godlike!! triple kill.!!!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.