Important alert: (current site time 7/16/2013 2:47:12 AM EDT)
 

winzip icon

[*a 3d racing game with commercial quality graphics*]

Email
Submitted on: 2/19/2005 9:34:09 AM
By: Mathias Kunter 
Level: Advanced
User Rating: By 102 Users
Compatibility: VB 6.0
Views: 58045
author picture
(About the author)
 
     This is a completly 3d racing game with commercial quality!!! It includes a 3d engine with support for advanced techniques like realtime shadows and reflections. You never thought this would be possible in VB. NOTICE: DirectX 8 or higher must be installed on your system. Now about the game itself: it's a Tron clone. The basic game idea of any Tron lightcycle game is that you drive a fast futuristic bike, called lightcycle. It leaves a wall where it goes, so the arena turns into a labyrinth after some time. The goal is to force the enemies to hit a wall while you should try to avoid this for yourself, of course. The last player alive is the winner. REVO TRON also invented a new game mode: the action mode. If it's switched on, you can use speedups, different weapons and shields. You'll get an item after some time which is displayed at the top-right corner of your screen. You can use this item then by pressing the space key. The action mode makes a Tron game become a real action battle! YOU CAN DOWNLOAD THE COMPILED EXE VERSION AT http://revotron.tripod.com

 
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 4 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 Advanced 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/19/2005 9:59:04 AMTomislav Podhraski

I don't now what to say than
GREAT JOB!!
(5 from me)
(If this comment was disrespectful, please report it.)

 
2/19/2005 10:24:53 AMRyan Lamvohe

Holy woly gwakamolie
i have no idea what that means but dang this is GOOD! what id like to see is more angles of play e.g as your playing the camera randomly swings arround and your movements get a bit stuffed :) 5 globes from me
(If this comment was disrespectful, please report it.)

 
2/19/2005 10:30:43 AMMathias Kunter

Well, enjoy. Please feel free to write your opinion here and vote for it if you like it. Thank you!

By the way, it really IS Visual Basic. *g*
(If this comment was disrespectful, please report it.)

 
2/19/2005 10:37:16 AMV.Ravindran

GREAT WORK.
THANKS FOR SHARING.
(If this comment was disrespectful, please report it.)

 
2/19/2005 11:26:37 AMScythe

Great work.
Only the MSGBOX souldnt show up after compiling.
Insert a InIDE test.
Now in German.
Simpel aber echt gut gemacht.
Dafür gibts fünf.

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

 
2/19/2005 11:33:07 AMr.lindman

This looks really cool. FYI, there's a game called Tron 2.0 which is a 'sequel' to the movie. In THAT game, there's a light cycle game, with different 'bikes' and some powerups kind of like yours. You might want to take a look. Can't wait to play this.

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

 
2/19/2005 11:47:21 AMr.lindman

Ok. Played the game. Awesome. I really like it. Some things in the Tron 2.0 that aren't here, but this actually runs a little faster. In case you want to make this better, here's what Tron 2.0 has: speed up and slow down with up and down arrows. Speed up and slow down 'zones' on the map. Speedometer. Some other objects in the playfield, like walls and stuff. Non-rectangular playfield. If you email me I'll try to find out more. Anyway, this is cool. Keep up the good work.
(If this comment was disrespectful, please report it.)

 
2/19/2005 12:37:32 PMDanDaMan

winxp home sp2, widescreen laptop, dx9c, cant see the floor tiles, or the walls that the bikes make, or the bikes themselves. only see an fps and a wall that moves when the angle changes. px when i press left or right the angle changes and it looks like i am turning, only cant see the bike..etc
(If this comment was disrespectful, please report it.)

 
2/19/2005 1:26:32 PMMathias Kunter

@DanDaMan, you may try to download the compiled C++ exe from http://revotron.tripod.com if you want to play the game.
I didn't test the VB version very much, maybe there are some bugs in it. However, on my computer it works fine.
(If this comment was disrespectful, please report it.)

 
2/19/2005 3:05:40 PMSoloSoftware

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

 
2/19/2005 5:02:20 PMPower Of Anubis

^^, LOL, that's just the best game i've seen on this site this should win the contest winner!!
This is very well done!!
Good work, you programmed it alone?
How you learned the Direct X?

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

 
2/20/2005 12:39:07 AMShane Wallis

Very nice... Best tron game iv'e seen. Could use better sound effects like a motocycle sound.
(If this comment was disrespectful, please report it.)

 
2/20/2005 4:33:14 AMAChucky

5 Very goods from me Mat. Just curious, how long have you been working on this? BTW it runs fine on my P4 3ghz without being complied. -AChucky-
(If this comment was disrespectful, please report it.)

 
2/20/2005 6:56:58 AMMathias Kunter

Yes, I've written this game alone. First I coded it in C++, this took me about 1 year. I ported it to VB just some time ago. This took me again about 1 week.
The C++ source can also be downloaded here at planet source code, or on http://revotron.tripod.com
(If this comment was disrespectful, please report it.)

 
2/20/2005 8:31:43 AMNorm Cook

Recommend a Chdir App.Path, so the default.dat file can be found.
(If this comment was disrespectful, please report it.)

 
2/20/2005 8:53:16 AMPeter Wilson

Well... it made be laugh with a grin ear to ear... so I guess that gets 5 stars. The enemies are pretty good too.
(If this comment was disrespectful, please report it.)

 
2/20/2005 9:26:24 AMPhred

This really stinks - I'm going to waste soooo much time playing this. Can't wait to go through the code and learn whats happening.

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

 
2/20/2005 2:38:51 PMA. G. Violette

NOT SURE WHAT HAPPENED WITH THAT LAST COMMENT BUT HERE IT IS AGAIN:

Just an observation ... but you should give Microsoft some credit for the VB sample classes etc. that you incorporated into your program. I've worked with Directx and I recognize the code from the SDK.
(If this comment was disrespectful, please report it.)

 
2/21/2005 4:31:47 AMFunny Dog

Very nice indeed, superb graphics, nice implementation but no sound, no commented code And After you play a game and then change some settings you cannot play a game again until you quit and then reload.

Therefore 4 balls, I would have voted 5 but for the lack of commented code, no sound and the game freezes.

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

 
2/21/2005 5:51:40 AMMichael D.

5 stars, very well done.

BTW, with Shadows on High, i cannot see anything on my PC (AMD 2200, Radeon 9200). This was a default setting thus I though the game did not work at first :P
(If this comment was disrespectful, please report it.)

 
2/21/2005 6:48:18 AMkerplunk_boy

GEEEEEEEZZZZZ Man!!! It's just amazing!!! 5 globes for sure!!!
(If this comment was disrespectful, please report it.)

 
2/21/2005 11:05:09 AMMathias Kunter

Thanks for the feedback. I hope this code will help many people.

But I really have no idea how some people can even THINK that this code was stolen or taken from the DirectX VB SDK. This game was originally written in C++ and ported to VB afterwards, so there can't be a SINGLE line of the VB SDK in it.

@ Funny Dog
The code IS commented. Just check out the 3d engine class, for example. Nearly every function is described. The C++ version also has sound and multiplayer support, it just wasn't ported to the VB version. However, this is a source code example and not a game valuation, so please don't criticize the missing sound effects in the VB version.
(If this comment was disrespectful, please report it.)

 
2/21/2005 8:24:20 PMMarshall H.

Haha! I was wondering how long for this code would take to be to be released. I remember playing this exact game a while ago, if you're looking for netplay you should check out GLtron and Armegatron.
(If this comment was disrespectful, please report it.)

 
2/23/2005 4:41:59 PM

I downloaded the compiled version from your site, and it won't run. A message box states "Couldn't load the game. Revo Tron will now exit." WTF? Windows XP.
(If this comment was disrespectful, please report it.)

 
2/24/2005 11:51:12 AMMathias Kunter

This error occurs when Revo Tron can't find the game settings stored in the default.dat file. This file has to be placed in the \settings subdirectory. Maybe you've extracted the zip file without the subdirectories. Therefore, MAKE SURE YOU'VE EXTRACTED THE ZIP FILE CORRECTLY!
(If this comment was disrespectful, please report it.)

 
2/24/2005 12:11:52 PMFrank Maier

Excellent game. Only sounds are missing.
(If this comment was disrespectful, please report it.)

 
2/25/2005 4:53:50 AMSotos - Salonica

nice work
keep it up
5 Globes
(If this comment was disrespectful, please report it.)

 
3/8/2005 5:25:02 PM(Tim Miron) yar-interactive software

awsome game! great graphics, great engine.. alot of VB-DX stuff doesn't run properly on my comp, but this compiled fine and ran nicely! You should submit it to www.vbgamer.com! Awsome Job!
(If this comment was disrespectful, please report it.)

 
3/9/2005 7:12:55 AM

Very Good Beats The S*** out of mine
(If this comment was disrespectful, please report it.)

 
3/9/2005 5:15:29 PM

Hi, nice code Mathias. Your code is the winning code of the month, but can I ask you something? I have an Geforce FX5200 g-card. When the game starts the motor (vehicle) is turn whole white. I downloaded your Cpp-version, but didn't solve the problem. Do you have any sugestion(s)? Nice game btw!!!
(If this comment was disrespectful, please report it.)

 
3/10/2005 1:57:56 PMMathias Kunter

Hm, sorry, no idea why this bug occurs. On most PC configurations it runs fine. You could try to disable the light reflections in the options menu, maybe.
(If this comment was disrespectful, please report it.)

 
3/12/2005 8:59:22 PMN Duffster

WOW
Fantastic, it's hard to beleive VB is capable of this, must of taken so much time.. you deserve the award
(If this comment was disrespectful, please report it.)

 
3/13/2005 7:49:33 AM

Thank you Mathias for your repons, I tried to disable light reflections in the options menu, but didn't help. All BMP's are loading well, only the vehicle, contains white... Hoped you had a solution for this, it is very good written.
(If this comment was disrespectful, please report it.)

 
3/15/2005 10:01:53 AM

Upgrading the Graphic card driver was the answer! Great game!
(If this comment was disrespectful, please report it.)

 
3/15/2005 10:45:18 PM

works like this is the reason why vb6 is not dying! keep it up 5 globes for you!
(If this comment was disrespectful, please report it.)

 
3/17/2005 1:03:18 AM

i want to play any good vedio game
(If this comment was disrespectful, please report it.)

 
3/21/2005 6:50:39 AMOrlando Alvares Rios

GREAT JOB DUDE

(5*1000) from me
(If this comment was disrespectful, please report it.)

 
3/21/2005 7:06:51 AM

this is great games.... full 3d racing game.. LUFET
(If this comment was disrespectful, please report it.)

 
3/26/2005 5:16:39 AMbammylove

hey,this is a nice Job,I give you 5 Globe for this,My name is Victoria and i am from US,i would like you to send me the compiled version and the OCX needed for it to run.I am a female programmer,keep it up,My email addrsss is bammington@yahoo.com nice job from a nice programmer
(If this comment was disrespectful, please report it.)

 
3/26/2005 4:49:24 PMMathias Kunter

Thanks for your nice feedback!
You can download the compiled release version at http://revotron.tripod.com
You don't need an ocx to run this project in Visual Basic. All you need is VB 6 and DirectX 8 or higher installed on your system. Just open the project file, it should work this way.
Well, you also need a 3d graphics card. But if your PC isn't older than about 5 years, you should have one. *g*
(If this comment was disrespectful, please report it.)

 
3/30/2005 10:17:25 PMMudassir Khan

Hey Hey Hey. where are you going.
Take
(5 * n-times) BIGGEST GLOBES from me.
This man is extra ordinary genius.
I must change my mind that i am not after einstein. This man is.
(If this comment was disrespectful, please report it.)

 
3/30/2005 11:33:31 PMMudassir Khan

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

 
4/2/2005 8:00:23 AM

Well done!

But i can´t start a new game after i exited the game(not the application) the first time. Have you got any idea why this appears?

By the way good job!
(If this comment was disrespectful, please report it.)

 
4/7/2005 12:04:09 PM

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

 
4/13/2005 2:56:38 AM

Now thats too good, though amwondering how much time u put into it. I'd say 5 globes too....
(If this comment was disrespectful, please report it.)

 
4/15/2005 3:26:17 AMSPY-3

this is the best game in vb ive ever seen on pscode i give oyu 5 globes and continue to keep up the good work!
(If this comment was disrespectful, please report it.)

 
4/28/2005 9:17:00 AM

This is incredible. Amazing job.
(If this comment was disrespectful, please report it.)

 
4/28/2005 6:14:12 PM

Looks a bit like Tron but better
(If this comment was disrespectful, please report it.)

 
5/3/2005 5:48:35 AM

Huh?! it does not work on my pc i have better thing than the recommed things if i klick on singelplayer nothing happens..
(If this comment was disrespectful, please report it.)

 
5/3/2005 10:40:22 AMMathias Kunter

You could try downloading the C++ release version at http://revotron.tripod.com
(If this comment was disrespectful, please report it.)

 
5/5/2005 6:33:57 PM

SPEECHLESS

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

 
5/16/2005 12:07:23 AM

Im mad i cant get this to work perfectly... the menu loads flawlesly, (which is amazing lol) But i cant get it to render right in the game... it does not display the models... ill try messing around with it. but i am pretty impressed.
(If this comment was disrespectful, please report it.)

 
5/18/2005 1:49:45 PMPadiDiver

WOW, 5 more!
(If this comment was disrespectful, please report it.)

 
5/21/2005 8:00:23 PM

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

 
6/24/2005 10:22:32 AM

i can only say 1 thing....

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

 
8/3/2005 1:29:38 PMJase

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

 
8/7/2005 5:56:32 PMASHAR

THIS IS A GREAT JOB FROM YOUR SIDE. KEEP UP THE GOOD WORK. THIS IS A MASTERPIECE. NEVER THOUGHT IT WAS POSSIBLE IN VB
(If this comment was disrespectful, please report it.)

 
8/8/2005 7:28:25 PMDuzi, Huang

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

 
8/26/2005 9:08:04 AMA

Nice game and code

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

 
9/29/2005 2:51:38 AMElFer

Really nice!!! good work
(If this comment was disrespectful, please report it.)

 
10/2/2005 1:32:15 AMBlack Shadow

overflow error during run from ide
Private Function LargeInt2Currency(LargeInt As LARGE_INTEGER) As Currency
CopyMemory LargeInt2Currency, LargeInt, LenB(LargeInt)
---> LargeInt2Currency = LargeInt2Currency * 10000
End Function

and it hangs at splash screen when compiled, is this still under devolpment?
(If this comment was disrespectful, please report it.)

 
10/5/2005 7:32:18 AMJonae

Superb work. Nicely done. Keep up the god work!! (5 from me)
(If this comment was disrespectful, please report it.)

 
12/4/2005 2:47:32 AMhimanshu007

Excellent Code and very interesting game
(If this comment was disrespectful, please report it.)

 
1/29/2006 12:25:54 AMAaron Innes

AWESOME GAME!!!

This is incredible. I had no idea vb6 was so good. I program things like revenue programs for hotel chains. Dabbled a little into games but had no idea vb was capable of handeling higher end stuff like this. thought c++ was required for great games like this.

AWESOME DUDE!!! 5*(5000^5000) Globes
(If this comment was disrespectful, please report it.)

 
4/12/2006 11:39:48 PMjazjef@hotmail.com

Incredible. I can't find any other word to describe it. Thanks for sharing this. 5 globes from me.
(If this comment was disrespectful, please report it.)

 
6/3/2006 1:14:22 PMJonas B. A.

This is a-m-a-z-i-n-g!

I dident think you were capable to make anything like this in VB, but you just proved me wrong. 5 globes.
(If this comment was disrespectful, please report it.)

 
6/9/2006 6:05:08 AMsaypen

Brilliant, awsome grapics and wikid game design, quite addictive.
(If this comment was disrespectful, please report it.)

 
7/7/2006 3:11:38 PMMert Çalýþkan

Super game i ever senn.
(If this comment was disrespectful, please report it.)

 
8/1/2006 3:48:29 PMAZZZz

Fantastic!!!!!!!!!! man how did you learn all that? Please do answer this question. I really wonder how you learnt all this.
(If this comment was disrespectful, please report it.)

 
9/4/2006 11:59:07 PMSunny

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

 
9/24/2006 2:20:01 PMJames

coooooooool!!!!
could u teach me how to do this?
(If this comment was disrespectful, please report it.)

 
9/28/2006 6:53:52 PMkoen

Excellence. I download your code just currious how you did it in VB6?!

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

 
1/5/2007 9:26:10 AMPhil Grossman

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

 
2/11/2007 12:00:45 PMWTF

Holy [something that is censored and smells badly]!
how long did you work on THAT one??
i never thought, that something like THAT could be possible to make in VB...
im just shocked!
(If this comment was disrespectful, please report it.)

 
3/26/2007 2:51:07 AMRisket

looks pretty cool but I get a compile error when I try to run it or compile it. It selects "D3DFVF_XYZRHW" in the mdMain module and says "Can't find project or library." I have the latest version of DirectX installed. Other application that require DirectX work perfectly fine for me. I even went on Microsoft.com to double-check that I have it installed and reinstalled it and I still can't run or compile it. Anyone have any ideas how to fix this? This game looks very interesting. Email me at Risket0@yahoo.com with the subject "3D Racing Game" so I don't delete it.

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

 
4/25/2007 4:16:03 AMelphas

i got your prog its nice keep it up
(If this comment was disrespectful, please report it.)

 
8/6/2007 5:46:49 AMJaynus

nothing compares man! you rock hey any piece of advice about the easiest way to create something like this
(If this comment was disrespectful, please report it.)

 
8/28/2008 11:38:50 PMTimmy

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

 
11/10/2008 10:47:52 AMSuperb!!!

Coooooool... makes the world crazy.

"Human Knowledge Belongs To The World,
Use N Share Knowledge Ethically"
(If this comment was disrespectful, please report it.)

 
2/11/2009 2:46:40 PMStays

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

 
9/18/2009 2:50:41 AMHttp://ctrlf5.info

Wooow, I can't say everything.
(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.