.Net Stats:

How to support the site


Site Wide Message: (current site time 7/29/2010 9:10:50 PM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 

Blaster Master

Print
Email
winzip icon
Submitted on: 3/13/2010 8:57:51 AM
By: T.Jackson 
Level: Intermediate
User Rating: By 6 Users
Compatibility:VB.NET

Users have accessed this code  2732 times.
 
author picture
 
     Blaster Master (World Edition) by Trent Jackson. Written in Visual Basic 2008; this 2D shooter is arguably a hybrid of Galaga and Space Invaders. Key abstract elements from both games can be clearly seen, and a touch of originality attempts to give it some better flavor. Vector scrolling, pickups, modern upbeat music and heaps of other special effects. The all very powerful FMOD sound engine is implemented for MP3 music and wav sound effects. GDI+ is used entirely throughout for rendering. Blaster Master runs at a considerably good clip. The game engine is governed at 50fps (which is typical for a game) -- and on a Pentium 4 3.0GHz machine (5-year-old computer now) -- it takes around 10mS on average to render a frame. Consequently this means that there is still plenty of time to spare. A game running at 50fps equates to 20mS p/frame. Presumably most people running VB2008 will have considerably modern machines at their disposal. The FMOD.dll should be placed in the debug directory. If you have problems obtaining the FMOD dll then e-mail me and I will forward you a copy of it. ~2.59MB download.
 
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.

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 1 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify 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
3/14/2010 4:32:07 AMHerbert N Swearengen III

I had to change the load/save location for "high scores.txt" to the user's application folder so that this would run on Windows Vista. Otherwise excellent code and lots of fun to play :)
(If this comment was disrespectful, please report it.)

 
3/15/2010 3:03:51 AMDummy1912

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

 
3/15/2010 9:47:27 AMT.Jackson

Glad you like it. This is my last VB game. I am currently developing a remake of Rolling Thunder by Namco 1986 in C# Stay tuned -- you should see it in about June. It takes a few month to make a decent game. Flat out I could probably do 5 a year.
(If this comment was disrespectful, please report it.)

 
3/15/2010 8:50:54 PMEugenio Escanaverino

AWESOME GAME

What version of fmod.dll should i use?
(If this comment was disrespectful, please report it.)

 
3/16/2010 3:11:06 AMXso

please sent to me file FMOD dll
(If this comment was disrespectful, please report it.)

 
3/16/2010 5:38:36 AMT.Jackson

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

 
3/16/2010 11:12:18 AMT.Jackson

I will host this FMOD engine: http://www.trentjackson.bigpondhosting.com/fmod.dll

~162KB Download and just drop it into the debug / release folders.
(If this comment was disrespectful, please report it.)

 
3/18/2010 4:30:08 AMTimo Boehme

This code really rocks!
(If this comment was disrespectful, please report it.)

 
3/18/2010 3:56:28 PMT.Jackson

Looks even better in C#. These conversion tools are incredible. Any performance gains in C# ? I'll soon see. Maybe I'll just stick with VB and release two versions. One in VB and one in C#
(If this comment was disrespectful, please report it.)

 
3/18/2010 6:29:09 PMT.Jackson

I would not suspect anyone who submits code / posts comments from hereon-in.


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

 
3/19/2010 12:54:17 AMT.Jackson

C# version almost ready. *Drum roll* Is C# all round better and more efficient than VB or does the syntax just look better?
(If this comment was disrespectful, please report it.)

 
3/19/2010 3:19:47 AMT.Jackson

Buy this site Telstra.

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

 
3/19/2010 3:20:29 AMT.Jackson

Buy this site Telstra.

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

 
3/19/2010 3:47:38 AMT.Jackson

I think this site is worth 6 million ish. I am going to make you a millionaire Ian. You started this site with good honest intentions. You deserve the money.
(If this comment was disrespectful, please report it.)

 
3/19/2010 11:52:52 PMT.Jackson

Whoa C# is 50% faster!!!
(based on time taken to render frames in Blaster Master)
(If this comment was disrespectful, please report it.)

 
3/19/2010 11:53:34 PMT.Jackson

Whoa C# is 50% faster!!!!!!!!!!
(based on time taken to render frames in Blaster Master)
(If this comment was disrespectful, please report it.)

 
3/20/2010 7:52:47 AMT.Jackson

Opps, I've made a mega error: the frame rates are pretty much on par :(

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

 
3/20/2010 8:06:34 AMT.Jackson

The time difference is unmeasurable in mS. I forgot to subtract the time taken from the base (20mS) I see absolutely no performance gains in C# with this project. Will post the C# version in a few days. These free conversion tools only do half of the job. What a ^&^* to convert.
(If this comment was disrespectful, please report it.)

 
3/20/2010 8:26:40 AMT.Jackson

I will always expose the truth. Sorry Microsoft. This is quite a large project, and I'm getting the same frame rate with C# & VB. ??????????????
(If this comment was disrespectful, please report it.)

 
3/20/2010 8:27:46 AMT.Jackson

I will always expose the truth. Sorry Microsoft. This is quite a large project, and I'm getting the same frame rate with C# & VB. ????????????????????
(If this comment was disrespectful, please report it.)

 
3/21/2010 12:03:06 AMT.Jackson

We got them buddy.
(If this comment was disrespectful, please report it.)

 
3/23/2010 1:29:28 AMT.Jackson

Overall C# is the winner. The syntax is just so much better. Bye VB been nice knowing you.
(If this comment was disrespectful, please report it.)

 
3/23/2010 1:38:17 AMRonald Hare

Nice game, good code levels, however, for the neatness I would say I give it a 4 out of 5, organized code is easier to follow and learn from, but I love the skills you have.
(If this comment was disrespectful, please report it.)

 
3/23/2010 9:14:41 AMT.Jackson

Nothing wrong with 4/5 that's 80%. VB code is difficult to make elegant looking! I'm done with VB. Hello C#
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!

Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.