O'Reilly logo

Foundation Game Design with HTML5 and JavaScript by Rex van der Spuy

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

9781430247166_CO-01.jpg

Chapter 10

Maze Games

Many kinds of video games that you’ll want to make are maze games. These are games where a player has to navigate an environment with walls and obstacles to find useful items and evade enemies. In this ­chapter I’m going to show you all the basics you need to know to start making maze games of your own. You’ll learn all the classic design techniques, and we’ll look at two complete demo games: Time Bomb Panic and Monster Mayhem. Figure 10-1 shows what those finished games look like. You’ll find them in the chapter’s source files.

Figure 10-1.  Time Bomb Panic and Monster Mayhem

In Time Bomb Panic you need to collect all ...

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