Game Development Reference
In-Depth Information
shoot by using the R, G, and B keys on the keyboard. You can shoot a paint ball by left-clicking in
the game screen. By clicking further away from the paint cannon, you give the ball a higher velocity.
The place where you click also determines the direction in which the cannon shoots. For each
can that lands in the correct bin, you get 10 points. For each wrongly colored can, you lose a life
(indicated by the yellow balloons at top left on the screen). You can run the final version of this game
by downloading the example code zip file belonging to Chapter 12. Double-click the Painter.html
file in the PainterFinal folder to start playing the game.
Search WWH ::




Custom Search