AS3 OOP game tutorial
Written by Stephan Meesters


In this tutorial we will be creating a mouse/shooting game of intermediate difficulty. Basic OOP concepts will be explained as well as some higher-level coding techniques. It has got the structure that would work on most kind of flash games. It is adviced to keep the source code next to you when reading the tutorial, because not every bit is explained.

The graphics for the player consists of a simple circle with a line attached to it, that rotates according to the mouse movement. Red balls come in a random wave manner and shooting them gives the player points. Touching a red ball will decrease your health.

The PDF version of the tutorial is available here:
www.keepsake-games.com/games/gametutorial/as3gametutorial.pdf

The source code is available here:
www.keepsake-games.com/games/gametutorial/source.zip

In case you are using this code to create your own game, please add my name to the credits.


next page