Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 12 Bomb Catcher > Making the Bomb Catcher Game

Making the Bomb Catcher Game

Now, I hope you’re ready to take on the Bomb Catcher game! There are several places in the program code that deal with sound. See if you can find the code that loads and plays the sound effect! This will play an explosion sound any time you don’t catch the bomb! Figure 12.1 shows the game running. It’s a pretty simple game, but it is still fun, and it’s good to see how games like this work. The best way to learn is to take a simple game and make improvements to it. Can you think of any changes that would make the game more fun?


image

For the game in this chapter, you will need to copy the bitmap files basket.png and bomb.png and the sound file explode.wav into C:\QB64 (or wherever you have it installed).


Figure 12.1


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial