Archive for June, 2009

Long rant on a small game

In Itchy, the player controls a bug that walks on the skin of a giant monster and makes it itchy. The bug tries to eat the food while fleeing from the scratching hand of the monster.

Game map is automatically generated as a Voronoi diagram. In some games, Voronoi diagrams are used to generate natural looking texture and terrain. The diagram visually resembles a reptile skin, but it also forms a complex cellular structure that can be used as a movement constraint. In chess or hex, where square or hexagonal tiling is used, every cell looks alike. But, in a Voronoi diagram, every cell has a different shape and varying number of neighbors. I used the Voronoi cells as the valid positions for the bug.

On the map, the bug is allowed to walk from one cell to one of its neighbors at a time. From top-down view, player left-clicks on the map to make the bug walk to a neighboring cell. Some cells contain food the bug should eat and finish. The bug creates itchyness on the cells it walks on.

Read the rest of this entry »

Leave a Comment