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

Creating an Editor

In this chapter, you will make an editor that creates the terrain movement table information for the player units. The computer uses this information to remove additional movement points over certain tiles. It also uses this information to restrict movement on specific tiles. In Figures 16.1 and 16.2, you can see the information that is within your example file. You can load this file by going to the Examples folder on the CD-ROM and running the editor-normalcode.mfa file. This file is an example of the war game you have already created.

Figure 16.1. The terrain movement table for the player.
Figure ...

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