Animation  Overview

Low-Level Components

These low-level components are the basic building blocks of animated games, otherwise known as “atoms.”

 

Coord: Point on screen

Rect: Rectangle

Quad: Rectangle with fill color

Ellipse: Circle or oval

Disc: Ellipse with fill color

Polyline: Set of connected line segments

Shape: Set of connected line segments (polygon with fill)

Bitmap: Rectangular array of pixels (colored dots)

Text: Label containing text

 

High-Level Components

Vector: collection of atoms and/or other vectors

Window: Rectangular area on screen, static or animated.

User: Game player

Level: Arena containing game action

Game: Collection of levels making up a complete game

In-Progress: Game in progress – web site includes list of these

 

Event Handling

Keyboard: These events are handled at the user level.

Mouse: These events are handled at the vector level.

Collision Detection: These events are triggered when 2 atoms collide.

Timer: These events are triggered after every N frame changes.