Wednesday, January 7, 2009

Hello!

Hey there!

I've only set up this blog because it allows me to embed the .swf files I'm creating for the incredibly exciting Armor Games programming contest. For our first ever contest which might have as many as three or four contestants if we're lucky, we're programming pong!

Here's my first version. Two paddles! control them with WASD and arrow keys. Funky stuff.

Yes, I've decided that the paddles can move left and right as well - it'll affect how the ball bounces too. wheeeee!



Get all the source code here

There are four classes so far: the document class (Pong.as), paddle class, player class, and human player class. If you find the way I've organised my code, welcome to Object Orientated flash. Learn more on my other blog!

No comments:

Post a Comment