8
Video Game Design Foundations
Images ..............................................................................132
Raster Images ..............................................................................132
Vector Images .............................................................................133
Compression ...............................................................................134
Reducing CPU Usage ..........................................................135
Blitting .........................................................................................135
Double Buffering .........................................................................135
Tile-Based Games ........................................................................137
Two-Dimensional Games ....................................................140
Two and One-Half–Dimensional Games ................................143
Three-Dimensional Games ..................................................144
Perspective..................................................................................144
Pixel Shading ...............................................................................146
Vertices .......................................................................................146
Scaling .........................................................................................147
Depth ...........................................................................................149
Round Objects .............................................................................150
What Is a Mesh? .................................................................153
Animation ..........................................................................155
Chapter 5
Collision Theory and Logic .......................................168
Logic .................................................................................170
Basic Logic Statement .................................................................171
Conditions and Events ................................................................171
Advanced Logic Statements .......................................................173
Collision Theory .................................................................177
Programming with Collision Theory .....................................180
Writing a Logic Statement ..................................................182
Pseudo Code ...............................................................................183
Syntax ..........................................................................................183
Variable ........................................................................................185
Array ............................................................................................187
Loops ...........................................................................................187
Naming Convention ....................................................................188
Choice of Language .....................................................................190
Flowchart ....................................................................................190
Algorithm .....................................................................................192
The Games Factory 2 ..........................................................195
Menu Bar .....................................................................................195
Standard Toolbar .........................................................................196
Navigate Toolbar..........................................................................196
Run Toolbar..................................................................................196
Editor Toolbar ..............................................................................196
C C
C