Hide individual regions on a territory map

Posted by Paul on Game Development See other posts from Game Development or by Paul
Published on 2012-08-11T12:38:31Z Indexed on 2012/09/10 21:50 UTC
Read the original article Hit count: 312

Filed under:
|
|

I have a map of adjacent irregularly-shaped territories. It happens to be a county map, but that's not important. In the game, the player only sees a few to start, and as he progresses to new territories, the ones adjacent to it are revealed. It's a territory-scale fog-of-war.

I'm using Unity3D, and my inclination is to make a set of planes, each of which has an image of a single territory on it, and then arrange them manually like a jigsaw puzzle. It then is fairly easy to respond to a click on each region and also to mark the planes as visible or invisible, or even do clever things like fade or zoom on individual regions.

This sounds like an arduous task, and if we need to change the visual design of the territories, we'd have to cut up the main map all over again into each of the individual pieces.

Does anyone have a more elegant solution to this problem?

© Game Development or respective owner

Related posts about unity

Related posts about maps