Important alert: (current site time 7/16/2013 3:02:15 AM EDT)
 

winzip icon

Black Winter 2: Final Assault

Email
Submitted on: 10/21/2006 4:24:10 PM
By: Wong Yat Seng 
Level: Intermediate
User Rating: By 96 Users
Compatibility: VB 6.0
Views: 30310
author picture
(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. <p/>Top 10 Pilots: <br/>1. jzthealien (131220 - Killed LastBoss) <br/>2. Ryan Catling (118260 - Killed LastBoss) <br/>3. Nafees Ahmad (116200 - Killed LastBoss) <br/>4. Blaster Master (113435 - Killed LastBoss) <br/>5. David Albrecht (105905 - Killed LastBoss) <br/>6. tt_Hydra (105635 - Killed LastBoss) <br/>7. Ronald Borla (105520 - Killed LastBoss) <br/>8. Alejandro Villarreal (103195) <br/>9. Ryan Catling (102665 - Killed LastBoss) <br/>10. Gert Eising (98680) <p/>Rename msdxm.oc_ to msdxm.ocx, if that doesnt work you can download a public copy from http://freeware.it-mate.co.uk/?Cat=OCX_Files

 
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 12 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 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 PMAdam 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.
(If this comment was disrespectful, please report it.)

 
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!
(If this comment was disrespectful, please report it.)

 
1/2/2003 5:36:56 AM

havent seen stuff these great since tyrian or raptor

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

 
1/2/2003 5:50:09 AM1stCoder

Bwahaha... dun wurry Seng! All your classmate is going to download BW2. I'll spread the word. Bwahaha...
(If this comment was disrespectful, please report it.)

 
1/2/2003 10:15:47 AMJames W. Manning

I haven't even downloaded it yet, and I'm giving ya five globes!!
(If this comment was disrespectful, please report it.)

 
1/2/2003 10:28:43 AMEmily83

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!
(If this comment was disrespectful, please report it.)

 
1/2/2003 12:01:01 PMlagware

This is simply amazing work! 5 globes!
(If this comment was disrespectful, please report it.)

 
1/2/2003 12:08:45 PMJason 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.
(If this comment was disrespectful, please report it.)

 
1/2/2003 4:22:25 PMMatias A. Villagarcia

Totally Cool! that's all i have to say
(If this comment was disrespectful, please report it.)

 
1/2/2003 8:54:20 PMFoxHound

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?
(If this comment was disrespectful, please report it.)

 
1/2/2003 10:37:13 PM

This is great! I really need something like this. five globes from me.
(If this comment was disrespectful, please report it.)

 
1/3/2003 1:38:47 AMlaracroft

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!
(If this comment was disrespectful, please report it.)

 
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?
(If this comment was disrespectful, please report it.)

 
1/3/2003 3:03:14 AMdafhi

this is pretty amazing. the objects size compared with the screen size makes the game feel crowded
(If this comment was disrespectful, please report it.)

 
1/3/2003 3:23:32 AMdafhi

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
(If this comment was disrespectful, please report it.)

 
1/3/2003 3:27:01 AMdafhi

like the propane at the end of round 1!
(If this comment was disrespectful, please report it.)

 
1/3/2003 3:43:06 AMdafhi

The Side Gun "Pulse Ring" disappears at the left side of the game field.
(If this comment was disrespectful, please report it.)

 
1/3/2003 3:50:25 AMWong 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.
(If this comment was disrespectful, please report it.)

 
1/3/2003 6:29:38 AMdafhi

couldn't you just disable one of the images
(If this comment was disrespectful, please report it.)

 
1/3/2003 6:48:09 AMJames 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!
(If this comment was disrespectful, please report it.)

 
1/3/2003 10:36:59 AMJames2002

Well done 5 from me ,Yat Seng!
(If this comment was disrespectful, please report it.)

 
1/3/2003 11:10:41 AMWong 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.
(If this comment was disrespectful, please report it.)

 
1/3/2003 11:20:53 AMBattleStorm

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..
(If this comment was disrespectful, please report it.)

 
1/3/2003 2:44:17 PMDude2

nice! 5 balls
(If this comment was disrespectful, please report it.)

 
1/3/2003 4:37:32 PMVlad 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>
(If this comment was disrespectful, please report it.)

 
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
(If this comment was disrespectful, please report it.)

 
1/3/2003 11:26:25 PMStu.

Full screen and 5 lives please.

I'm too old for this and keep dying! :(

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

 
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........
(If this comment was disrespectful, please report it.)

 
1/4/2003 12:39:00 PM

Crazy is d word! to describe dis Nice graphics... 5gs
(If this comment was disrespectful, please report it.)

 
1/5/2003 9:27:46 PMWong Yat Seng

hmm... so far only one person send me his HiScore.txt file. i wonder why....

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

 
1/6/2003 12:54:39 AMNate 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.
(If this comment was disrespectful, please report it.)

 
1/7/2003 1:30:27 AMAbrian 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!
(If this comment was disrespectful, please report it.)

 
1/7/2003 2:06:51 PMCoding 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.
(If this comment was disrespectful, please report it.)

 
1/7/2003 2:08:02 PMCoding 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.
(If this comment was disrespectful, please report it.)

 
1/7/2003 11:02:13 PMDaniel 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?
(If this comment was disrespectful, please report it.)

 
1/8/2003 2:09:55 AMWong 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.
(If this comment was disrespectful, please report it.)

 
1/8/2003 2:53:28 AMSprout182

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.
(If this comment was disrespectful, please report it.)

 
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)
(If this comment was disrespectful, please report it.)

 
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!
(If this comment was disrespectful, please report it.)

 
1/12/2003 5:53:15 PMJason Liang

wow... your game sure is great... it's attracted more people in like 6 days then my game in a month... lol
(If this comment was disrespectful, please report it.)

 
1/13/2003 2:18:58 AMTrevor Lewis

Wow, I had no idea that vb was capable of rendering graphics that quickly. This is indeed a job very well done.
(If this comment was disrespectful, please report it.)

 
1/13/2003 10:32:30 PMPeter 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.
(If this comment was disrespectful, please report it.)

 
1/14/2003 5:14:40 AM

wow, this program is really great... your so good! keep it up
(If this comment was disrespectful, please report it.)

 
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
(If this comment was disrespectful, please report it.)

 
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!
(If this comment was disrespectful, please report it.)

 
1/18/2003 4:27:38 AM

What the hell...your so excellent.
5 Globes
(If this comment was disrespectful, please report it.)

 
1/18/2003 7:26:41 AMScorpion King

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

 
1/22/2003 12:12:45 PM


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

 
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 :)
(If this comment was disrespectful, please report it.)

 
1/23/2003 10:26:53 PM

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

 
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
(If this comment was disrespectful, please report it.)

 
1/26/2003 2:04:56 PMZach O''Brien

You should use Madules for your Sub's, will speed up the game. Also, when you get hit the map flashes.
(If this comment was disrespectful, please report it.)

 
1/26/2003 2:04:57 PMZach O''Brien

You should use Modules for your Sub's, will speed up the game. Also, when you get hit the map flashes.
(If this comment was disrespectful, please report it.)

 
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?
(If this comment was disrespectful, please report it.)

 
1/26/2003 11:04:14 PMWong 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.
(If this comment was disrespectful, please report it.)

 
1/27/2003 3:49:00 AMWong Yat Seng

I've made a simple tutorial on how to use the Draw function of an ImageList:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=42 727&lngWId=1

This
should (hopefully) solve all your problems regarding the use of Imagelists.
(If this comment was disrespectful, please report it.)

 
1/28/2003 6:02:44 PM

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

 
1/31/2003 10:02:30 AM

Incredable! 5 Globes and worth more! Simply The Best
(If this comment was disrespectful, please report it.)

 
3/2/2003 9:21:46 PMDerek Skeba

Way to hard, should ba able to move faster. also make it fullscreen, and change their resolution. otherwise good game. got a website?
(If this comment was disrespectful, please report it.)

 
3/3/2003 3:57:44 PMCarson 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.
(If this comment was disrespectful, please report it.)

 
4/25/2003 6:32:08 PM

I submitted my high score and i was wondering where the list was. Anyways 5 stars.
(If this comment was disrespectful, please report it.)

 
5/9/2003 9:08:00 AMBram 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!
(If this comment was disrespectful, please report it.)

 
9/4/2003 4:37:01 AM

I've just submitted my high score- but I can't find the list. I just got an e-mail reply from Yat Seng saying that I had the 5th highest score. Can ne1 help me find the list?
(If this comment was disrespectful, please report it.)

 
9/20/2003 4:34:46 PMYehia Muhsen

The least I can say about his game is that it's so AMMMAZING. If I didn't see that code, I wouldn't believe that such a wondeful game can be programmed using VB. 5 globles Wong, and keep up the good work.
(If this comment was disrespectful, please report it.)

 
10/5/2003 10:21:33 PM

5 GLOBES FROM ME. I THINK IT WAS SUPERB AND EXCELLENT
(If this comment was disrespectful, please report it.)

 
11/13/2003 5:21:34 PMJason Liang

dude u won? that's hot. did they actually send u stuff??
(If this comment was disrespectful, please report it.)

 
2/16/2004 9:24:41 AMJames (Lycaon)

Most of the comments I had have already been made, so I won't repeat them again. 5/5 for a good concept and effort, as well as being functional :) Any plans to move this to DirectX? Also, I can whip up/host an ASP page really quick for high scores if you want, as well as perhaps providing a routine to automatically upload the high score to the site (or on click of a 'Submit High Score' button).
(If this comment was disrespectful, please report it.)

 
2/17/2004 8:00:09 AM

If only I could give you 6 globes instead of 5!
(If this comment was disrespectful, please report it.)

 
2/20/2004 1:29:33 PMWong Yat Seng

thanks but i'm no longer updating BW2
since more than a year ago. well, the
good news is BW3 will be out, hopefully
this year. the bad news is tat it will
be released under vb.net instead of
6.0, because only the .net platform
supports directx9, which provides much
of the special effects used.

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

 
8/15/2005 3:46:35 AMWong Yat Seng

ignore the ruby83@starpulse email in the attached readme, its no longer valid. you can just click on my profile page and mail me from there.
(If this comment was disrespectful, please report it.)

 
10/16/2006 4:21:19 AMT Jackson

I have seen your earlier versions of this. Arguably, I think, one of the best 'pure VB' games around. While I do agree that it's not such a good idea to place all the code under one form, I think you've done extremely well considering the outright sheer complexity of such a game. However, it runs rough and very inconsistently. Take a look at my current submission ‘Developing VB Games’. It features a brief discussion about speed regulation and compensation for system latency. Fixed delays will never allow for that ‘smooth’ arcade like play.
(If this comment was disrespectful, please report it.)

 
10/19/2006 1:53:48 AMGraham J. Fisher

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

 
10/19/2006 9:13:19 PMWong Yat Seng

haha, its funny. i posted this almost 4 years ago and there is still ppl playing and sending me highscores. i still remember that BW2 took my 14 days to complete, during my semester break. but i'm glad it gave you some entertainment value.
(If this comment was disrespectful, please report it.)

 
10/20/2006 8:39:23 AMRonald Borla

HAHAH!!!
Just found myself a CHEAT for this game...
Mind you, it's not a way of changing the codes... Real Cheat...ü.. But I'm not telling, you have to figure out yourself..
:p...
Anyways...Really cool game.. There are some effects flaws though.. The pulse ring won't work on the left side.. Same with that Beam thing... That super powerful main weapon...Heheheh...
(If this comment was disrespectful, please report it.)

 
7/27/2007 7:58:15 AMjasonh

Doesnt work under winxp, doesnt even load, produces errors about opening a file.
(If this comment was disrespectful, please report it.)

 
7/27/2007 12:29:12 PMYat Seng

This works in winxp too. You are probably getting the error because you dont have the .ocx file, which PSC intentionally removed from all downloads.

All you need to do is close the project. Get a copy of "msdxm.ocx" from this website "http://freeware.it-mate.co.uk/?Cat=OCX_Files", put that file into the project folder, then reload the vbp file again. Let me know if you have further difficulties.
(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.