Tower Defense Game: Tile Engine & Map Editor
Author Mickey Petersen
Our tower defense game needs a simple grid-like system for placing certain sprites, like the roads, as it makes it easier to build a path finding algorithm later on, so the enemies can find their way from start to finish.
Although grids are useful, we won’t limit ourselves to just that; shrubs, trees and other graphical ornaments don’t need a grid at all, so whatever we build, it should work with both.