12

Goose Game

Introduction to Design and Programming of an Application

The main objective of this chapter is to put everything you have learned into building a game with the support of a step-by-step breakdown and explanations of all the code. The game is available from www.sprite.net/understanding and is made up of a simple syntax:

duplicateMovieClip( )

else

for

if

with

startDrag( )

onClipEvent( )

The Game Loop

A game can be decomposed into five processes that continually run into a loop. It is a basic formula that almost every game has to have. The game loop is a series of processes for getting input from and displaying output to the user and updating the game. The five basic processes are:

  1. The Introduction – The start screen has an animation ...

Get Understanding Flash MX 2004 ActionScript 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.