How to Write Flash Games - A Guide to Flash Game Development

Flash games have become more and more popular inwrite a mock-up game in Flash. The idea of this stage
recent years. While the demand for new gamesis to write the code in Flash for the game to be
continues to increase, the number of developersfunctional, without worrying too much about how the
seems to remain comparatively static. The reason forgame looks. I often use place holder graphics at this
that might be that developing Flash games requiresstage, which will later be swapped with graphics
such a diverse range of skills.produced by an artist, and unless it is integral to the
Of course, to make Flash games a competence ingame I leave the audio out entirely.
Flash is required, but that alone is not enough. A goodGraphics and audio
Flash games developer needs programming skills,Once the mock-up has been written, and tested, the
graphical skills, audio skills, not to mention a goodnext stage is to integrate the graphics and audio. If
analytical mind, a methodical way of working throughthe design phase was completed carefully with
problems, and the patience to see a project throughconsideration to the graphics and audio, the artists (if
to completion. Here is a rough outline of how a singlethe developer is not creating the graphics
developer might tackle the problem of writing a Flashthemselves) can be producing the graphical assets
game from scratch.while the mock-up is being created. This allows the
Planning and designgraphics and audio to be integrated relatively quickly
Games are complex pieces of software. Even a smalland easily, and the game is now fully tested again.
puzzle game written in Flash is likely to include severalFinal touches
main screens or game states, multiple movieclipsOnly after the game is virtually complete do final
which may be nested (giving multiple timelines), onetouches such as introduction and end of level
or more actionscipt files and possibly actionscript onscreens, or preloaders get added. This allows testing
the timeline, graphical elements either drawn in Flashto be much quicker and easier as the tester doesn't
or embedded in either bitmap or vector formats, andhave to repeatedly click through spurious intro
audio files.screens.
With so many elements, sitting down at a computerAs we have seen, even a simple Flash game is a
with Flash open and starting to code is very unlikelycomplicated project to take on. However, with
to produce a satisfactory result. Whenever I start tocareful planning and by breaking the project down
write a new game I first start with a pen and paper,into sensibly sized modules a competent Flash
initially with a description of how I'll go about writingdeveloper can easily tackle small games projects
the game, then with lists of game starts and mainalone, especially if they have the help of an artist for
functionality, then with list of assets required. Onlythe graphics and audio.
then, once I have a good idea of how the game willIf you've not written a game from scratch before
be written can I start to collate assets, and begin tothen consider making modifications to an existing
write the game.game first. That will give you experience working on
Mock-upgames, and the confidence to take on larger projects
Once a design has been drafted, the next step is tofrom scratch in the future.