Hi Again!
This time I’ve rewritten my old AS2 Pong Game source code to an AS3 class. This is useful for a loader i.ex. or just for fun…
The game is as simple as I could get (and buggy too!) so don’t expect a WOW – the idea was not to complicate the game – just make it simple and small
Hope You like it…
Usage:
You can see that in the example file.
var my_pong:pong_game = new pong_game(game width , game height , sprite to attach);
The Example:
The Source Code:
Feel free to use and modify what you want. Comments warmly welcomed as always
Have fun!
FLAIM













August 27, 2008 at 8:53 pm
At 1.51KB, wouldn’t it be more accurate to say ~2KB?
September 18, 2008 at 7:58 pm
Not really if you remove comments and change the variable names to shorter
October 12, 2008 at 6:35 pm
Hi nice game, I played it after reading your post. I kind of liked it. Thanks for sharing! Really addictive one!
October 29, 2008 at 9:34 pm
Hey, just to let you know, I used your source code to make pong for the Zune, if you want to check it out, you can just go to my website. The game is called Zong.
Thanks.
November 2, 2008 at 9:44 pm
[...] on each side of the table. An easy concept, great to start with. So I grabbed the source of 1KB pong and changed the source a bit (sorry!) to use it with the touch [...]