Archive for June, 2007

State Pattern in Games
Saturday, June 9th, 2007

The state pattern introduced by the gang of four in the mid-nineties is one of many useful methodologies. Since this is a Flash game programming blog I will be hitting a bunch of these patterns seeing as game programming can be some of the most complex and intricate around.
The state pattern can […]

Grids
Monday, June 4th, 2007

Grids can come in handy quite often in games. You can split up a game board using them to cut down on computing by seeing what is around a player or enemy. I will be writing about that topic in a future post. But for now I wanted to post a simple […]

Factory Pattern in Flash Games
Saturday, June 2nd, 2007

Creating enemies, agents or whatever is an important aspect of gaming. Having a class that creates a type of enemy should be quite easy. Just create a class of that type and action it’s supposed to do and use the “new” operator, throw it some params and away you go. Seems pretty […]