Quick Search for:  in language:    
BW2,98680,93005,83165,76900,63845,43065,Black
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic
CString v1.5
By Ultimatum on 7/2


Tablature Pro
By Michael McMullen on 7/2


Click here to see a screenshot of this code!MSN Password Decryptor
By Muhammad Sufyan Ansari on 7/2

(Screen Shot)

Mp3 Paker
By Michael McMullen on 7/2


Suppress Run Time Script Errors
By Nuclear_1000G on 7/2


Click here to see a screenshot of this code!List Maker
By KBM-00 on 7/1

(Screen Shot)

Web Update Checker
By knormalnight on 7/1


A*Beginners API*
By Michael Nipper on 7/1


source hog v1.1
By Robert Justason on 7/1


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Black Winter 2: Final Assault

Print
Email
 
winzip icon
Submitted on: 1/1/2003 8:47:29 PM
By: Wong Yat Seng 
Level: Intermediate
User Rating: By 82 Users
Compatibility:VB 6.0

Users have accessed this code 5687 times.
 

(About the author)
 
     Black Winter 2 (BW2) is the second space shooter in its series, featuring many main weapons, side weapons, special weapons, variety of enemies, and its regular end-of-level bosses. The game uses 24-bit graphics, image masking(bltblt), sound effects, background music, and realistic explosions. The game is written in well commented codes, a tutorial guide to help programmers to build a basic space shooter, and a printer-friendly user manual for gamers who wants quick reference on weapons and ship statistics. Players are welcome to send to me their highscore files and up-to-date pilot standings will be published here. Votes for this submission are much appreciated. Top 10 Pilots: 1. jzthealien (131220 - Killed LastBoss) 2. Blaster Master (113435 - Killed LastBoss) 3. David Albrecht (105905 - Killed LastBoss) 4. Alejandro Villarreal (103195) 5. Gert Eising (98680) 6. Danny (93005) 7. Mat "CraZ" (83165) 8. Ayman J Singh (76900) 9. Over (63845) 10. Dafhi (43065)

 
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 Winzipto 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 8 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.).
Reason:
 
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
1/1/2003 9:25:37 PM:Adam Lane
Well done Wong Yat Seng, this is a big 
inprovement since BW1. It is a lot 
better with the image lists. 5 Globes 
from me buddy, keep up the good work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/1/2003 10:00:04 PM:
Well done, Wong Yat Seng! Great 
improvement from the previous version. 
I'll make sure my friends vote it!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 5:36:56 AM:
havent seen stuff these great since 
tyrian or raptor
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 5:50:09 AM:1stCoder
Bwahaha... dun wurry Seng! All your 
classmate is going to download BW2. 
I'll spread the word. Bwahaha...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 10:15:47 AM:James W. Manning
I haven't even downloaded it yet, and 
I'm giving ya five globes!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 10:28:43 AM:Emily83
Oh dear... i've known u so well to know 
that u'll come up with something like 
this one day. Well, i guess all the 
money u've spent in arcade shooters 
over the years has finally paid off 
huh?
hehe... dun wurry, u'll get my 
vote, Seng!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 12:01:01 PM:lagware
This is simply amazing work! 5 globes!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 12:08:45 PM:Jason Liang
Hey it's me. Nice game! I thought you 
were gonna post it as ^Black Winter 2 
so i kept lookin on the first page and 
now i searched :D. 5 
Stars/Globes/whatever.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 4:22:25 PM:Matias A. Villagarcia
Totally Cool! that's all i have to say
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 8:54:20 PM:FoxHound
Hmm, the last boss is kinda hard to 
kill. There's just way too many 
annoying small ships coming. Are you 
sure anyone has kill that before?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2003 10:37:13 PM:
This is great! I really need something 
like this. five globes from me. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 1:38:47 AM:laracroft
Pulse Ring SG doesn't seem to work on 
the left side or top of the screen, 
same goes for Plasma Wave MG. Anyhow, 5 
globes from me =) A job well done!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 1:53:57 AM:
i like ur music, but your weapons kinda 
lack sounds. why dont you put in 
additional .wav for your weapons?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 3:03:14 AM:dafhi
this is pretty amazing.  the objects 
size compared with the screen size 
makes the game feel crowded
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 3:23:32 AM:dafhi
also, enemy bullets sometimes 'collide' 
where there is empty space - possibly a 
sign of quick rect test.  and sometimes 
player ship does not move after it gets 
hit with .. something .. definitely 
another ship.  seems like an unusual 
element in a space shooter
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 3:27:01 AM:dafhi
like the propane at the end of round 1!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 3:43:06 AM:dafhi
The Side Gun "Pulse Ring" disappears at 
the left side of the game field.  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 3:50:25 AM:Wong Yat Seng
Hehe... pulse ring is one weapon that i 
dint foresee to include in my game. The 
bitmap is too big and painting it 
outside the boundary of the picturebox 
will cause an error. the only way to 
avoid the error is to disable it if its 
border exceeds the left boundary of the 
picbox. sorry bout that.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 6:29:38 AM:dafhi
couldn't you just disable one of the 
images
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 6:48:09 AM:James Beer
Code of the Month material for sure!, 
Talk about unloading the big guns when 
it comes to trying to win.
I'm 
definetly giving a 5 for this!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 10:36:59 AM:James2002
Well done 5 from me ,Yat Seng!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 11:10:41 AM:Wong Yat Seng
um... i can't just 'disable' one of the 
balls of the pulse ring. The actual 
Pulse Ring is made of a big 3 bitmap 
images of a a bunch of circles. I just 
rotate these 3 pictures, kinda making 
them look like spinning. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 11:20:53 AM:BattleStorm
For the audience you were looking for 
in this submission, I would have to say 
this is simply amazing. Your comments 
and code explanations are wonderful and 
the code is pretty tight. This would 
make an awesome DirectX or BitBlt 
project. Definitely a learning 
experience for the beginner and even 
the advanced VB coder. I can go on 
about what I like about this code but 
I'll just keep it to the fact that I 
like the whole thing. I spent about 15 
minutes perusing the code and was 
amazed at the amount of work that went 
into this. Excellent job! 5 globes from 
me..
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 2:44:17 PM:Dude2
nice! 5 balls
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 4:37:32 PM:Vlad Vissoultchev
this get incredibly difficult at some 
point!!! hint: put an Exit Sub in the 
beginning of Minor_HIT if want to see 
the BLACK DISC boss 
;-))
Cheers,
</wqw>
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 10:47:19 PM:
yo buddy seems like everyone likes this 
game of yours
i'm passing the word 
round...
make sure u win the code of 
the month award YEAH
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 11:26:25 PM:Stu.
Full screen and 5 lives please.
I'm 
too old for this and keep dying! 
:(
5*
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2003 11:37:43 PM:
I heard from OCH about this......he 
sent me the 1st version 
too.....hehe.....i hope you know who he 
is......I'll vote for ya 
definitely........
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/4/2003 12:39:00 PM:
Crazy is d word! to describe dis Nice 
graphics... 5gs
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2003 9:27:46 PM:Wong Yat Seng
hmm... so far only one person send me 
his HiScore.txt file. i wonder why....
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/6/2003 12:54:39 AM:Nate Divine
Hey, great gob.  For an intermediate 
space shooter this is very nice.  Seems 
like your going to win the code of the 
month also.. good luck.  Hope the vote 
I give ya helps.  Keep up the good work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/7/2003 1:30:27 AM:Abrian Stemmet
This game is amazing! I downloaded the 
game a week ago and couldn't stop 
playing it! Stunning code, very neatly 
done! This is why I love programming! 
For guys who have a pation for coding! 
Not just sloppy code all over the 
place! Keep up the good work! 5 globes 
from me!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/7/2003 2:06:51 PM:Coding Genius
Personally I don't see what's all that 
great about this. For example: 14 media 
player controls. This is nothing short 
of ridiculus. Not to mention all the 
image lists. And not a single API call 
or anything? I find it very slow 
(compare the 30fps this does on my 
system with the 400 (with delay too) I 
can achieve with bitblt in a similar 
game). Also, because of the lack of 
bitblt, it tends to flicker slightly. 
Once the game starts to heat up int he 
slightest, thee game flickers so badly 
it renders the game unplayable. As for 
the loading/unloading time...games this 
simple shoul load and unload almost 
instantaneously. Also definetly not 
impressed by the 32Mb RAM it takes up 
(2x explorer.exe [Windows XP]). I find 
the code poorly structured too, you 
should be using classes and split the 
code into modules. It's not good to add 
thousands of lines into one form. There 
is lots more I noticed too, but that's 
all I'm going to mention. I think you 
get the idea.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/7/2003 2:08:02 PM:Coding Genius
Now, the graphics are great and the 
game itself is fun - I think that's 
what all these votes and comments are 
for - but I must say, I hate your code 
:P It would be very nice if done right 
(i.e. all resources in a resource file 
and loaded to RAM. Everything done by 
fast API. No controls on form at all. 
No timers - tight fast game loop etc 
etc etc). I would give the game 10+, 
but the coding behind it..pretty low.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/7/2003 11:02:13 PM:Daniel Keep
Coding Genius, some good points there, 
although you must admit that writing a 
game with media controls and image 
strips must be just as difficult :D  
Wong Yat Seng, your game looks 
fantastic.  It's definetly a great 
effort, but like Coding Genius said, 
perhaps you should focus your energies 
on writing a technically 'better' game 
for the next one: perhaps DX8?  You can 
check out http://www.directx4vb.com/ 
for some tutorials on the 
matter.
Lastly, Coding Genius, 
correct if I'm wrong, but aren't VB 
classes the SLOWEST way of doing 
something like this since they're just 
COM objects?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/8/2003 2:09:55 AM:Wong Yat Seng
dear Mister Coding Genius, i understand 
that my codings are unsatisfactory to 
your standards, but i felt that it has 
greatly improved since BW1 (which was 
horrible). I did not want to do such 
complex codings and reference any API 
calls as this is an intermediate 
submission meant for a space shooter 
tutorial. If programmers have trouble 
understanding the basic constructs of 
the game engine, they wont get to learn 
much from the tutorial itself. Anyhow, 
i appreciate your suggestions and 
comments and will produce a better 
submission for BW3 in the coming 
months.
Anyhow i hoped everyone 
enjoyed their game.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/8/2003 2:53:28 AM:Sprout182
The coding standards could be commented 
but i believe the whole program is 
great! I believe much effort has been 
made this into a complete game. Other 
space shooters in PSC never came close 
to a complete game. This submission has 
great entertaining value.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/9/2003 12:32:59 AM:
I liked the game and the tutorial is 
also good, 5 globes
Now I can do my 
own shooter ^_^ (hope it works hehe)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/9/2003 11:10:47 AM:
Great! I'm making a top-down 
aircraft-game on my own and your code 
gave me some good ideas on how to make 
it better :)
In the tutorial you 
mention that the game originally should 
have been made using DirctDraw - it 
would be really neat if you made that 
version!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/12/2003 5:53:15 PM:Jason Liang
wow... your game sure is great... it's 
attracted more people in like 6 days 
then my game in a month... lol
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/13/2003 2:18:58 AM:Trevor Lewis
Wow, I had no idea that vb was capable 
of rendering graphics that quickly. 
This is indeed a job very well done.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/13/2003 10:32:30 PM:Peter Wilson
Glad to see you didn't use API's or 
DirectDraw.  It's always great to see 
what can be done without them. I must 
admit to being surprised by the number 
of controls on the form, and the 1700 
lines of code in a single procedure; 
that's just too much! Ignore the 
"genius" that told you to use classes - 
they are just too slow - stick with 
Arrays. Although I would only give you 
3/5 for the code, I did give you 5/5 
for the game which had a very well 
rounded finish to it, including scores 
and documentation. Keep up the good 
work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/14/2003 5:14:40 AM:
wow, this program is really great... 
your so good! keep it up
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/14/2003 5:15:59 AM:
I believe that you are very good in 
programming or may be an expert... hope 
you can teach me too--marlon ogsila
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/14/2003 11:28:12 PM:
Can I distribute the source code and 
compiled version of your game on my new 
web site. www.freebits.us is where you 
can read all the information about the 
site and service. THANKS A LOT!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/18/2003 4:27:38 AM:
What the hell...your so excellent.
5 
Globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/18/2003 7:26:41 AM:Scorpion King
Excellent!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2003 12:12:45 PM:
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/22/2003 12:14:08 PM:
Pretty addictive little game!!! Seems 
complex enough for me and I like all 
the options you can choose to play the 
game (weapons and all). Good code. Keep 
doing good work.
u deserve 5 globes :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/23/2003 10:26:53 PM:
Good God
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2003 4:26:54 AM:
Woah! Why can't I make sumthing this 
good? Ok, don't answer that!It's coz I 
am a beginner :P  It looks really great 
man! You get 5 globes/stars/green 
little ball thingies from me!! I just 
thought I'd make it 70 users who gave 
you 5 globes
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2003 2:04:56 PM:Zach O''Brien
You should use Madules for your Sub's, 
will speed up the game. Also, when you 
get hit the map flashes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2003 2:04:57 PM:Zach O''Brien
You should use Modules for your Sub's, 
will speed up the game. Also, when you 
get hit the map flashes.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2003 10:14:13 PM:
I can't figure out how to use the 
imagelist.draw. It doesn't not give me 
an error. Nothing shows up on the 
screen when I run it.  Any ideas?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/26/2003 11:04:14 PM:Wong Yat Seng
To Zach:
Actually, i intentionally 
made the screen flash when u get a 
critical hit. But i guess my critical 
effect wasnt that good and most people 
thought it's a bug instead.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/27/2003 3:49:00 AM:Wong Yat Seng
I've made a simple tutorial on how to 
use the Draw function of an 
ImageList:
http://www.planet-source-c
ode.com/vb/scripts/ShowCode.asp?txtCodeI
d=42727&lngWId=1
This should 
(hopefully) solve all your problems 
regarding the use of Imagelists.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/28/2003 6:02:44 PM:
Woohoo
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/31/2003 10:02:30 AM:
Incredable! 5 Globes and worth more!  
Simply The Best
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/2/2003 9:21:46 PM:Derek Skeba
Way to hard, should ba able to move 
faster. also make it fullscreen, and 
change their resolution. otherwise good 
game. got a website?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/3/2003 3:57:44 PM:Carson Stoffels
Nice job, i like the element of 
leveling up your weapons.. adds a lot 
of value to the game. I suggest for BW3 
you do it in DX7. It would make it much 
better.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/25/2003 6:32:08 PM:
I submitted my high score and i was 
wondering where the list was. Anyways 5 
stars.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/9/2003 9:08:00 AM:Bram Pelgrom
Based on the comments of all people I 
am thankful for supporting the 
open-source community :) without even 
taking a look at the code, I think you 
deserve 5 globes from me :) Keep up the 
good job! Thanks mate!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

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.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.