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

Dinosaur Terrain Example File

We have already created the basis of the file that you will be using for restricting movement on certain types of terrain. This file can be found in the Examples folder on the CD-ROM provided with this book. The file is called terrainmod. mfa. The code is the same as the examples in Chapter 6, except for a few minor changes to take into account that there are three units on the screen now rather than two.

Load the file into MMF2 and double click on the text Frame 1 to display the frame editor. You will be able to see the frame, which contains a number of tiles, three dinosaur units, and some red directional units currently placed off the frame. You can see this in Figure 7.5.

Figure 7.5. The frame editor containing ...

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