15 Mazes

Mazes form the basis of many games. The maze structure may be obvious, as in the example in this chapter, or subtle like the movement from room to room in a first-person shooter. In this chapter we are going to look at creating a first-person maze. Graphically the imagery will be computer generated, created using Lightwave 3D. The process has three stages. First we will create a program using Flash to generate the data that a maze game will need. Then we will create the graphics using in this instance Lightwave, but any CGI application will suffice. Finally we will learn how to import the data and how to move around the maze using the constraints implied by the maze data.

Storing a Maze in a Computer Readable form

People like pictures, ...

Get Flash MX 2004 Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.