Tile Mapping Issues

Posted on 1 February, 2009 in

Tile mapping ain’t easy. Never mind the fact that I’m not content with how the graphics work together (the green / brown contrast is a little much for my taste), it looks like I may need to come up with a few other tiles to adequately smooth out my random regions…

Anyway, at least I’ve done much of the logic work for dealing with the smoothing. I’ve defined a dictionary object for looking up a TileDefinition (that corresponds to a particular tile image, given a defined TerrainType (in this case, Mud) and the information regarding the adjacent tiles. Bit of a pain in the arse to set up, and still not the most elegant solution by a long mark, but it’s a step up from doing everything manually – and it will make future terrain types much easier.

I don’t want to think about situations where any two terrain types collide. The number of tiles I’d need would skyrocket. I might have to ensure they don’t meet!


Commenting is closed for this article.