Adding Mountains, Deserts, and Forests

The next step was to add terrain such as mountains, deserts, and forests. I applied another polygonal algorithm here, defining a polygon that straddled the border between provinces (see Figure 24.3).

24.3. Building terrain polygons.

graphics/24fig03.gif

This polygonal region would then be randomly spattered with little mountain, forest, or desert icons. The random positioning of these mini-icons masked the purely geometric shape of the algorithm and produced a suitably blotchy look. The end result of all these manipulations looked like Figure 24.4.

24.4. Final map.

graphics/24fig04.gif



Chris Crawford on Game Design
Chris Crawford on Game Design
ISBN: 0131460994
EAN: 2147483647
Year: 2006
Pages: 248

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net