Important alert: (current site time 7/16/2013 2:43:11 AM EDT)
 

winzip icon

Spaceblaster Game

Email
Submitted on: 8/6/2005 1:41:53 AM
By: Randy Gomez 
Level: Advanced
User Rating: By 35 Users
Compatibility: VB 6.0
Views: 15790
(About the author)
 
     My VB DirectX7 space shooter game. It still needs work. but I was hoping to get some feedback on how well (or poorly) it runs on other machines. Only 2 1/2 levels created at this point.

 
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
8/6/2005 3:47:08 AMAckbar

I'd love to try it but due to a freak virus this morning I had to format and I just moved recently and my vb disk is boxed up somewhere. If you have a compiled version you could send me it would be cool. Thanks :)
(If this comment was disrespectful, please report it.)

 
8/6/2005 4:34:54 AMEric S.

Your Game is Excellent. Works great on my computer. I hope that you add more to it but it is still very fun. This goes against every thing that every one tells me about vb, like it isn't a graphic language even with using direct x. This game is so cool. I hope I learn how to make programs like this.
(If this comment was disrespectful, please report it.)

 
8/6/2005 5:57:50 AMJase Ong

There have so bug......
run-time error "430"
Class does not support animation or does not support extended interface
here--->(temp = m_objBasicVideo.SourceWidth)
However this is a good project. I will vote u 5 for ur effort work.
(If this comment was disrespectful, please report it.)

 
8/6/2005 6:31:06 AMAurorus

Great submission. 5 Globes from me.

You may like to know that the game actually runs on my Toshiba Portege 3490CT Laptop!!!

It runs fairly slowly, but it does! The graphics look good, except you need to clean up the refresh/redraw module. I am running at 60Hz, and am getting the typical redraw, out-of-sync framerate. On the other hand, it could be my 8MB Savage IX Graphics Processor.

Here are the specs:
Portege 3490CT
-700Mhz Pentuim III Processor
-128MB SDRAM
-6GB HHD (5400 RPM)
-8MB Savage IX GPU

--------
Hope that helps you with your minimum specs. ;)
(If this comment was disrespectful, please report it.)

 
8/6/2005 8:12:04 AMDave

A beautiful game. It's been great seeing commercial quality games here on pscode recently. This is both great fun and great looking. The artwork could be improved though and it should be possible to change the resolution. Maybe it would be nice to also remove the 'sidebars' and make the game true fullscreen.

It would also be nice to see a windowed and fullscreen mode available. This style of game is suited for the causal gamer.

This could would make an excellent freeware or shareware title.

Are the levels simply 'scripted' or is their a proper editor?

Email me to discuss this game further. I can help you with this project.
(If this comment was disrespectful, please report it.)

 
8/6/2005 10:02:37 AMRandy Gomez

Jase : The game does require a reference to the ActiveMovie control type library (C:\Windows\system32\quartz.dll) for playing music - that's probably the source of your error.

Dave : "levels.txt" stores the level info - I wasn't that interested making in a level editor for a 2D shooter. I know there are many gaps in my VB knowledge, so if you see stuff that you know can be done better, feel free!

Ackbar : I'll send you the compiled version.
(If this comment was disrespectful, please report it.)

 
8/6/2005 10:45:37 AMPep

Fantastico juegecito de los mejores que he visto de este tipo GRACIAS Pep.
(If this comment was disrespectful, please report it.)

 
8/6/2005 1:44:13 PMJase Ong

Randy, be4 i start the game i though it is 3D game during the loading time. But a bit disappointed it is just 2D game. Anyway, must thx u share ur effort work to us. Accourding from ur suggestion the project still existing error. But it is nvm...compile it to exe then can run successfully.
(If this comment was disrespectful, please report it.)

 
8/6/2005 2:08:28 PMAckbar

Very nice. Deffinatly worth the 5 vote no question about it.
(If this comment was disrespectful, please report it.)

 
8/6/2005 6:55:52 PMR. Hall

As another thing to add to the minimum spec thing, it seemed to run fine on my p2 450mhz 4mb graphics comp. On the only issue was that the fire rate was about 1 shot/second, so I had no hope of destroying anything. All teh graphics looked fine, and there was no flickering/loss of framerate.
(If this comment was disrespectful, please report it.)

 
8/6/2005 11:24:11 PMPeter Wilson

Wow! This is pretty good - I love the intro, very impressive. I'll give it 5 stars even though it had some problems. The menu text didn't show up, just the buttons. I couldn't fire fast enough. I kept clicking the mouse button fast, but only get slow shots! Sounds are excellent. The game slowed down too much when the green things appeared. I have a DELL 2.4GHz P4 with NVIDIA GeForce FX5200.
(If this comment was disrespectful, please report it.)

 
8/6/2005 11:33:02 PMPeter Wilson

Your coding style is excellent.
(If this comment was disrespectful, please report it.)

 
8/6/2005 11:42:41 PMHeriberto Mantilla Santamaria

Hi found a bug.

Automation Error --> When you press Alt + Esc and try move the windows.
(If this comment was disrespectful, please report it.)

 
8/6/2005 11:45:17 PMHeriberto Mantilla Santamaria

The program sometimes shows this error: Can't acquire mouse, why.
(If this comment was disrespectful, please report it.)

 
8/7/2005 5:43:14 AMLight Templer

And so another game will be COTM ;-) !
Runs fine on a AMD 3000 / W2K.
A (very) few errors in explosion animations (blocks of graphic).
Is it possible to get the space button as a fire button, too? So my mouse will live longer ... ;-)))
Coding suggestion: Put the 'With' statement in the very inner loop to improve speed (e.g. in 'InitEnemyGroup()'
Great work - my 5 !!!!! for!
LiTe
(If this comment was disrespectful, please report it.)

 
8/7/2005 12:00:14 PMPhantom Man

Excellent Stuff, Although Nothing Happened After Level 3. It's A Great Start.

Tested On WinXP Home SP2.

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

 
8/8/2005 4:13:00 PMlvlhed

VERY GOOD game. However, within the first 10 seconds of playing, the game stops and the only option is to hit escape to quit. 5 stars though!!!
(If this comment was disrespectful, please report it.)

 
8/9/2005 5:35:00 AMFabio La Vitola

Sorry but cannot vote for more than 5 pizzas....
Anyway, i've taken a look at the code... NO WORDS......
(If this comment was disrespectful, please report it.)

 
8/13/2005 6:17:56 PMMArio Flores G

Great!! laptop inspiron 1100 winxpPRO celeron 2.0 256 DDR. one thing, gets slow when green ships show.
(If this comment was disrespectful, please report it.)

 
8/25/2005 11:12:11 AMRiccardo Cohen

Nice game... 5 globes from me, but game stopes in level 3, is this ok! After defeating the little ships, the game goes on, but there isn't any new ships!
(If this comment was disrespectful, please report it.)

 
9/5/2005 9:48:58 AMHappy Lobster

Well programmed game! Well done
(If this comment was disrespectful, please report it.)

 
9/7/2005 8:22:03 PMVerious

Great game! Keep up the good work. I really like the scrolling panels along the side and the parallax star field. They work really well together to give the impression the ship is moving through space.
(If this comment was disrespectful, please report it.)

 
9/9/2005 9:10:11 PMLMF

Very great game... I was looking a code like this for a longgggg time... Anyway 5 Globes to you...
But hey can you help me here?
Ok i having trouble about how to rotate a sprite and alphablend them...?
Another one is how to change the sprite color without loading it time by time...
I hope you can help me here...

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

 
9/11/2005 1:32:20 AMRandy Gomez

Hi LMF,
Actually, I don't think you can do it very easily using DirectX 7, which is
what my game uses. I believe DirectX 8 has features for rotating and
alphablending - that's where I'm headed toward learning next. Incidentally,
there are a couple of VB game engines out there that use DirectX 8 - DXGame
(www.dxgame.com) and Dabooda Turbo
(http://www.daboodasilver.darkwizard.org/dbturbo/main.htm) and are
specifically for 2D games. Lots of luck and thanks for the feedback and the votes!
(If this comment was disrespectful, please report it.)

 
9/13/2005 2:48:49 AMVisual Basic Beginner

Wow! This is really good! I don't see how anyone can give you a 4, other than you only use the mouse the whole time. You may want to put an instructions and key config menu in the future.
(If this comment was disrespectful, please report it.)

 
7/21/2006 2:17:23 PMJason Curtius

Great work. Your game ran well on my old PIII (CPU 900 Mhz, 512MB Ram ,GForce 4 MX graphics card).
Fire rate could be more responsive, but still you get a big 5 from me.
(If this comment was disrespectful, please report it.)

 
2/28/2008 9:03:43 AMJoaquin Marcher

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

 
2/28/2008 11:00:12 AMBPG

Excellent game. Works right out of the box. I haven't looked at the code yet but as I said right out of the box. I don't know if my vote was applied as I received a maintenance error when I tried to vote but it will be 5 just for it working out of the box. Keep it going till you finish the game completely.
(If this comment was disrespectful, please report it.)

 
2/28/2008 10:01:27 PMA. G. Violette

Randy,

As we say in Canada F?*^&ing A! (eh?). This is very well designed. I think it could (given 20 or more levels) make it beyond the shareware market. Keep on coding buddy.

Bye the way you haven't used Option Explicit ... I found a reference to an array index that isn't declared as well as not even being initalized or assigned any value. Haven't checked thoroughly yet but maybe the index variable "j" (which probably equates to zero) is actually doing no harm as your program doesn't seem to be doing anything weird. Just though I'd point it out, it is in your DoBossExplosion sub in the mBosses module. Best of luck on expanding this further!
(If this comment was disrespectful, please report it.)

 
1/26/2012 12:00:50 AMjazjef

This is unreal. It should be against PSC rules to be this good. Thanks for posting this...5 Globes; but only because I'm not allowed to give 5,000.
(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.