home page icon Flash Bestiary / Classic Games / Ping
   

Ping

I made this simple Pong-like game to illustrate rudimentary game-programming for my Flash programming class.

It illustrates basic games states (intro screen, game play, game-over), paddle movement via the arrow keys, and collision detection using hitTest(). It also illustrates the use of a vector (vx,vy) to move an object, the use of functions, arrays, random numbers (to make a random bounce angle) and sound effects.

 

sourcecode iconDownload the flash project
book iconJim's Favorite Actionscript Books
wiki iconAsk Jim about Actionscript
Next: Shooter

Having trouble opening the project? You may need to Upgrade to Flash MX 2004



Copyright © 2003,2004 by Jim Bumgardner. All Rights Reserved.        Leave Jim some feedback