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 8

Super Squirt Gun Laser Bazooka

There comes a time when diplomacy has failed and you can’t help but go to war. Such is the case when your brother or sister shoots you with a squirt gun. At times like this, it’s time to get out the heavy artillery—water balloons or a super soaker!

In this chapter you will learn to make a real-time arcade-style shooting game similar to the old Atari Air-Sea Battle game from many years ago. This chapter shows you how to create the game step by step, explaining each step along the way. Study each step carefully so you will learn how to make the game one piece at a time. I think that’s the best way to learn!

Setting Up the Game

The first thing you’ll need to do is write the code for the game loop. As you ...

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