O'Reilly logo

Going to War: Creating Computer War Games by Jason Darby

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

Mini-Maps

You may have come across mini-maps in commercial games such as role-playing or strategy games. In a large map, it is very useful to show users a cut-down version of the map so that they can see what is happening when they are potentially on the other side of the map.

In this section of the chapter, you will re-create your main war game map as a smaller mini-map, which will give you enough information to tackle larger game maps.

Earlier, you created the file to begin programming; the file is mini-map.mfa in the Examples folder on the CD-ROM. Before beginning to program, I will take you through some of the items that were added to the program.

You can see the updated frame in Figure 13.6.

Figure 13.6. The updated frame with a new mini-map ...

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