Chapter 12
SimpleGame Concepts
basic canvas
drawing dynamically on the canvas tag
building an animation loop with
setInterval()
Reconciling angle measurements
transformations in canvas
Vector Projection:
understanding r and theta
building a triangle
using trigonometry notation
solving for dx and dy
solving for r and theta
sound.txt
Definition of Sound object in simpleGame
reading the keyboard
managing the touch interface
collision and distance code from simpleGame
boundary detection from simpleGame
File Download
download zip file for this chapter