Category Archives: Tutorial Series

I played a bit with the settlers-like map of that post to give it a more like terrain look. Therefore the triangle faces are colored now depending on their orientation.
Continue reading

Posted in as3, flash, game development, Grid Based Games, grids, mochiads | Tagged , , , , , , | Comments Off on Grid based games – Part X.1: Hexmaps and terrain

This is kind of an experiment with a hexagonal map. I just had a look at “The Settlers”. Great game. Alright, the hexmap (map made of hexagonal tiles) can be described by nodes arranged in a triangular fashion.
Continue reading

Posted in as3, flash, game development, Grid Based Games, grids, mochiads | Tagged , , , , | 1 Comment

In this part the adjacent cells of the acual node are called. This can get handy if we want to implement some kind of pathfinding algorithm. The base for this code is part 2.2. See part 1 for the creation of the basic grid.
Continue reading

Posted in as3, flash, game development, Grid Based Games, grids, mochiads | Tagged , , , | 6 Comments

This part deals with similar interaction as part 2.1 without the masses of EventListeners. See part 1 for the creation of the basic grid.
Continue reading

Posted in as3, flash, game development, Grid Based Games, grids, mochiads | Tagged , , , | Comments Off on Grid based games – Part 2.2: The basic grid with interaction alternative

Now it’s time to add some interaction to the grid made in part 1. For that purpose simple MouseEvents for movement and click will be sufficient. As indication we will change the color of the relevant tile.
Continue reading

Posted in as3, flash, game development, Grid Based Games, grids, mochiads | Tagged , , , | Comments Off on Grid based games – Part 2.1: The basic grid with interaction