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

More About Weather

You can use two types of weather within your war games. The first one I covered was changing the look of a tile, and I used snow as an example previously. There are only two types of weather you need to consider for changing the tiles, mud and snow. Mud would be caused by too much rainfall, while snow would occur depending on the timeframe of your game.

The second type of weather you need to consider is one that will not update a tile but that will have an effect on a tile. This means you can have a weather system of rain, sun, snow, or fog attached to certain tiles without actually changing the look of the tiles. In this case, you can then add certain modifiers to units depending on the type of weather on each tile.

You will ...

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