Close Panel

9

Apr

2008

Super Mario Word 1-1 written in 14kb Javascript

By Chewie. Posted in General | Comments

This is just so awesome it defies belief, some guy called CupBoy has managed to create world 1-1 of the original super mario brothers in Javascript.

Javascript MarioIf that wasnt impressive enough he has also managed to squeeze it all down into an ity bity 14kb javascript file.

The sprites are stored in custom encoded strings in a format that only allows 4 colors for each sprite but in turn only takes up around 40-60 bytes per sprite.

We also have MIDI music embedded as base64-encoded data: URI’s. No music for IE, though, and it seems all the other browsers each have different, minor problems with it, but it sort of works.

Go check it out now!

About the Author:

Chewie is from a mysterious part of the United Kingdom called Up Norf. He has been working in web development and SEO for over ten years, beginning as a developer and moving to SEO in search of the perfect rank. As well as SEO he likes football, beer, girls and gravy - often at the same time.
Email this author | All posts by Chewie | Subscribe to Entries (RSS)

 
blog comments powered by Disqus