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

Paying Income per Tile Location

Your map may be at the campaign level, and so you may want to pay income per location held. This could be a location with a unit sitting on a particular tile. We can pick a specific schedule for the money to be paid; this could be weekly, monthly, or yearly, depending on the timeframe that has been set in the game.

You can program this into your game in several ways: you could give every tile an income value based on its strategic location or resources. This could get quite involved if you have a few hundred terrain tiles and you want a value for each tile. You might specify the value of only a select number of tiles. This all depends on the type of game you are making and how you want to manage the games finances. ...

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