Created in early 2004, UNEASYsilence aims to deliver daily coverage of offbeat & generally geeky news. Subscribe via RSS or Email.

READING single

As If You Needed Another Distraction: Super Mario Written In 14k of Java

Posted in Cool, Downloadable by Dan at 11:47 am

mario.png As if there weren’t enough distraction on the web we now have an EXTREMELY tiny Java application that basically IS Super Mario.

Here’s an experiment in keepings things small and confined to one Javascript file. There are no external image files or anything, everything is rendered with Javascript using either canvas elements or old fashioned div-making tactics (for IE). 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. [...]

It is by no means a complete clone or anything, it’s not even an entire level and several key things are missing, such as mushrooms, Koopas and stuff. It was merely done as a sort of proof-of-concept and to see how small it could get.

Now, if only it could be playable on the Blackberry – we would have a complete time suck here.

Read More

5 Responses to “As If You Needed Another Distraction: Super Mario Written In 14k of Java”

  1. Ryan Parman says:

    Correction: It’s JavaScript, not Java. Huge difference. :)

  2. James says:

    Yeah, saying that this was written in Java would be about the same as saying Basecamp is written in Python. Actually it’s probably worse, because Python is syntactically more similar to Ruby than Javascript is to Java. Javascript and Java are two completely separate languages.

  3. ryan says:

    wow, ryan parman and james, you guys are officially the hugest nerds ever.

  4. sdfs says:

    dsfasdf

  5. Ryan Parman says:

    Well, some people are lazy and some are right. ;)

Additional comments powered by BackType