O'Reilly logo

Video Game Programming for Kids, Second Edition by Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12

Bomb Basket

In this chapter, you will learn to catch a bomb with a basket. Isn’t that usually how it goes when the sky is raining old fuse-type bombs? You grab whatever you can to stop them from hitting the ground? Well, now this situation is no different, and you just happen to have a basket handy.

This so-called basket is either a ceramic plant pot or an upside-down highway cone. But whatever it was previously, now it’s a bomb-catching basket. This game is surprisingly easy after the last two rather difficult chapters. The really new thing you’ll learn to do in this chapter is to play sound effects!

Playing Sounds

To play a sound effect in BASIC, you will need to use an audio file that QB64 supports. The types of supported audio ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required