Latest Entry
Maynard Flash Game (Part II)
Monday, December 10, 2007
One of the most important functions of the Maynard game is the set of keyboard controls. We wanted our hero’s movement to be controlled with the arrow keys (left/right), his hose to fired with the spacebar, and each to work when buttons were held down. To do this in Flash (we began in Flash 8, but now are in CS3) and ActionScript 2, we must use a Keyboard Listener object.