May 05, 2008
Flash Nostalgia: 5K PONG

Searching for an old experiment of mine I just rediscovered a piece from 2001/2002 which I thought I had lost - it's a implementation of PONG in Flash 5 with a file size of 5K. Back then it was an submission for the 5K award - a site which featured some amazing entries all under 5K which is unfortunately not online anymore.

There have been some impressive examples in recent time of PONG made in 510 bytes or even in 349 bytes - so 5k is not really world record anymore. On the other hand - this file is from the good old Flash 5 days where there was no gzip compression available (with compression it already goes down to (1742 bytes). But this version is a two player game with keyboard control, it has sound, scoring and several different play modes. I guess that there is still some room for improvement, maybe one can get it down to 1k or so without loosing any features - feel free to give it a try. Here's the original Flash 5 FLA file.

Posted at May 05, 2008 05:39 PM | Further reading

Hi Mario..
I just wanted to say that the last link for the fla isn't working..

Posted by: savvasmalamas on May 5, 2008 08:06 PM

Oops - thanks for noticing! I've fixed that now.

Posted by: Mario Klingemann on May 5, 2008 08:15 PM

That reminds me of my Pacman clone years ago in AS1.

I do not recall, why I started this. Maybe a 1K contest, which I missed about 500 bytes then. Cannot imagine to do something now in AS3 though.

Posted by: Andre Michelle on May 8, 2008 10:30 PM

It's great you bring this up. I often try to find ways of squeezing every last K out of my work. Unfortunately not many people do that anymore.

It's surprising, but I can make a pretty complicated microsite in a day or two, but the biggest challenges come from banner ads that have a 30K size limit.

I know what you are thinking... banner ads? What a loser. But I work for an agency called Resource Interactive which builds websites and advertising for companies like Pantene,Victoria's Secret, the Limited, Walmart, HP... and a lot more.

When these players shell out 60K ($$$) for an ad, they don't want to punch monkeys or watch a cowboy dance for interest rates. Long story short, they expect the world in 30K (Kilobytes) or less.

It requires you to get down and dirty with Flash and smack every last ounce out of Actionscript.

Posted by: Elliot Geno on August 7, 2008 04:04 AM
Post a comment

Email Address:



Remember info?

Thank you!

Most Visited Entries
Sketches, Works & Source Code
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german

My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers