Super Mario Word 1-1 written in 14kb Javascript

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!

Leave a Reply

Be the first to comment

Notify of
avatar
wpDiscuz