Important alert: (current site time 7/16/2013 3:42:24 AM EDT)
 

winzip icon

Tank Wars 3D

Email
Submitted on: 5/26/2000 4:18:22 PM
By:  
Level: Advanced
User Rating: By 18 Users
Compatibility: VB 5.0, VB 6.0
Views: 25718
(About the author)
 
     This is a 3D demo that is writen in much simpler language than anything I have found. I this that it will be alot easier for someone learning 3D to figure this out than some of the stuff on the net. I'd Like 2 Thanx Shaid Benaris - Da VB6 - onwards professional gangsta - Thuglife
 
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 5 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

5/26/2000 6:49:05 PMDaniel Davies

This Is Fantastic, Great Code! Does run slow when solid is selected though...Apart from that, 5 planets!!!
(If this comment was disrespectful, please report it.)

 
5/26/2000 8:40:21 PMLP-S

This is just great...
Really good... It should use DirectX... then it will be really faster
(If this comment was disrespectful, please report it.)

 
5/27/2000 7:46:56 PMbmg300

This is worth an execelent!
(If this comment was disrespectful, please report it.)

 
5/31/2000 11:33:18 AMIawix Computer Corp

what made you do this?
(If this comment was disrespectful, please report it.)

 
6/1/2000 3:47:26 PMJB

Work good solid on my Celeron 466 mhz
(If this comment was disrespectful, please report it.)

 
6/9/2000 9:57:10 AMVB God

The code isn't exactly the best, the game runs fine in wireframe mode, but the lack of use of DirectX or opengl makes the game play slow when rendered and the graphics could be soo much better if opengl or directx was used!!!!!!!
(If this comment was disrespectful, please report it.)

 
6/9/2000 10:03:25 AMVB God

In all fairness this code isn't exactly the best, the lack of use of opengl or directx makes the game when rendered slow and the graphics fairly boring,
However the basic code is fairly sound, and is reasonably efficient, i would personally like to see this author do the same but using opengl or directx!!!!
If he could do that then i would be impressed!!!!!
(If this comment was disrespectful, please report it.)

 
6/12/2000 2:53:49 PMMarc Burgess

Yeah, I agree, this could be alot better. I don't claim to be the best, and have 3D demos that run faster on a 486 than my code does on a pentium II 200. However, i'm getting better, and am looking for ways of making a better engine. I looked at DirectX but could only find txts on who to display bitmaps onto the screem (Ie 2D) As for OpenGl... If you can point my in the direction of a decent tutorial that would help, please do

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

 
6/18/2000 5:32:28 AMEwart

A note on optimising your code; declaring variables -

Dim a, b, c As Single

Declares a and b as Variants and
c as a Single

Keep up the good work!
(If this comment was disrespectful, please report it.)

 
6/19/2000 6:46:20 AM!nnovation Software

In the readme it say you cant shoot high and low, like an elavator. But try this: Turn your brakes on by right clicking the game area, then turn froward view on, then long range radar. YOu cant move side to side, but up and down works!
(If this comment was disrespectful, please report it.)

 
6/19/2000 10:15:52 AMMarc

yeah, you can move the view up and down, but the tank stays on the ground, and your missles do as well. You can also do the same thing by pressing shift, and moving the mouse around
(If this comment was disrespectful, please report it.)

 
6/23/2000 2:04:50 AMkdkvc

if you unload all the forms when the program closes(under main Form_Unload), probably you don't need to press Ctrl Alt Del to end task the entire program...
(If this comment was disrespectful, please report it.)

 
6/23/2000 3:45:18 PMJeff Manley

Excellent graphics. Nicely done!

Jeff Manley
A1VBCode
http://www.a1vbcode.com/
(If this comment was disrespectful, please report it.)

 
6/28/2000 3:22:42 AMMarc Burgess

Have a wait for my next tank game, thats gonna be finished pretty soon, that has much better code except for the fill routine, that is as fast as I can get it. Once I've done it, I'm really gonna try to do a direct X version, and include a network game, now I almost have my network up & running
(If this comment was disrespectful, please report it.)

 
6/29/2000 11:58:00 AMMark Hamilton

On the full version you can use textures on the tanks too. You can also have a seperate screen and 'Ping' network servers when you type in their IP. Maybe even make a seperate map editor. I would help you, but I can't even do any graphics on VB.
(If this comment was disrespectful, please report it.)

 
7/3/2000 7:19:00 PMSkull Dugrey

I'll sound like a broken record, it's not the fastest, but it's still very cool. I see potential, I give it an excellent.
(If this comment was disrespectful, please report it.)

 
7/4/2000 7:09:32 AMMark Burgess

I'm trying to do textures at the moment. If I can get the screen shots to work, then have a look at an example. However, the tanks wouldn't be able to be textured for reasons that will be explained when I release the next version of tank.
I have also done a level editor, which is really important on this version, as there are walls and stuff to drive around.
(If this comment was disrespectful, please report it.)

 
7/4/2000 7:14:57 AM...

note that the texture in the screen shot is 8 bit, cos its in QBasic. However, in VB, it'll be in 16 or 24 bit, so its gonna look better, and also be higher resolution, cos the screen shot is 320*200, but in VB it'll be 640*480 or 800*600
(If this comment was disrespectful, please report it.)

 
7/5/2000 9:07:37 AMMichael Barnathan

A little too slow, and could use some anti-aliasing with the textures, but not bad. The use of DirectX can greatly help this game. Also, if you're interested in network/internet enabling this game, I can help with it(Although I'm helping someone else's tank game right now... just call me the tank man :). Nice game, 5 stars.
(If this comment was disrespectful, please report it.)

 
7/8/2000 12:48:55 AMAndrew Armstrong

Cool game man!!! 5 Planets!!!

If you do make it network compadible (Multiplayer) and has DirectX for speed I will love u for that! This is a really kickass game!!!!!

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

 
7/10/2000 11:10:18 PMKenneth G

Just a little note.... there is very little commenting in the source code, and there is no DirectX support. For me, that makes this game useless for learning - if you need blazingly fast 3d rendering, use direct3d - it's really good and it's much faster than software rendering... my p3 450mhz ran at 4 fps with all the options on and about 13-15 without any options. We're talking 50 polygons here. Direct3d can hit that speed with about 500 polygons. Uhh, but enough ranting. This is good if you are into software rendering, but virtually any comp fast enough to run this program would have a 3d accelerator.
(If this comment was disrespectful, please report it.)

 
7/10/2000 11:12:50 PMKenneth G

Please, please, please, use Direct3d. Any computer fast enough to run this program with any speed in software mode should have a competent 3d accelerator - and then you'll be able to make things blazingly fast. Oh yeah, and the code is sparsely commented. Some like it that way, some don't. Good code, tho, and it does make the best of a bad thing.
(If this comment was disrespectful, please report it.)

 
7/14/2000 6:59:41 AMMarc Burgess

Ha ha, we are bi*chy are't we?! Okay, seing how my intended next version has gone all Pete Tong, i'll re-do Tank Wars with Driect X, and I'll put loads of comments in it. I'll also give out my 3D tutorial, which will like totaly show you how to do stuff. Honest. Come back here in about a week or so, and have another look.
(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.