|  | 
 Making Clown Hunter was a fairly easy task. I made it a while ago so I don't know exactly how long it took me to make it. I had someone else do the pictures for me. To start this game, I made a main frontend for the game. After that, I started the game part. After that, I then made them types and set up their positions on the screen. After I completed this, I created the integer move, and started the main loop. I wasn't very good at making functions at that time, so I put all of my code in the main loop, except for when you shoot. That's a gosub. I then made the clowns move back and forth and a dot to move wth your mouse curser. I then copied that twice for the other clowns. I then added this code. I copied that twice for the other clowns. I then added the mousehit command. After that, I set up a random number generator. Once that was accomplished, I made it that if the number was 1, then it would play the sound "children". Once I was through with that, I made it that if the clown was in the last frame, his dead frame, he would fall off the screen. I copied that for the other clowns. After I finished this, I drew all of the images. I then fliped the buffers and ended the main loop. Next, I added the sub routine shoot. I copied that three times and then added return to the end. That's how I made Clown Hunter, and I hope you learned something by it. For a printable copy of this article, please click HERE. 
 This site is Copyright© 2000-2004, BlitzCoder. All rights reserved.   |