ebola cola

20 Jun, 2008

Mario Meets Markup Mushrooms

Posted by: Sk In: Design| Gaming| General

Nintendo’s Super Mario trailed the videogame industry from “going to die soon” to “where’s my latest million dollars, you sexy thing?” by becoming one of the greatest commercial successes of the sector. Not only that, it was in fact so popular that it crossed the kids’ room’s door to attain the status of pop-cult, up to the point where colleges were having live action shows featuring the Nintendo franchise’s gameplay.

Super Mario is also one of the first games that users look for when they put their hands on a NES emulator. Those old cartridges have been ripped more than once to offer the real thing on a ROM dump. Platform games reminiscent of SM are a common exercise for those who learn game and graphic programming, and thus Mario clones exist in virtually any language.

But there was stil  a barrier to break.

Some folk has managed to make Super Mario fit in a 14kB Javascript applet. That’s right kids, you only need your browser to play it, and by “only your browser” I don’t mean “your browser, and Flash, and Java, and 13 different image compression formats, and your firewall turned off”. In 35kB of JS code (then reduced to 14 thanks to optimization software) you have graphics, base64-encoded MIDI music, keyboard control and all the stuff.

Ok, it’s sluggish on certain machines and/or browsers, it’s just one level, there are no mushrooms and no Koopas, and at the end of the day you fall in the white without hitting any flag. That’s not the point. This is a lesson to every self-acclaimed hacker. This is hacking, kiddos. This version of SM is W3C compliant! (Well, it may be in a non-impossible future). You can play it on any Web machine.

Now he only has to make a JavaScript version of GTA IV. Possibly under 80kB, oh, and I want it responsive! I don’t want to be busted because the bullet’s div’s margin wasn’t set to zero.

2 Responses to "Mario Meets Markup Mushrooms"

1 | Shaun

June 20th, 2008 at 11:08 pm

Avatar

That’s pretty great, now Mac users can hopefully play games.

I also noticed that you can go backwards towards the starting point in this version. The original game never had this feature!

2 | Sk

June 21st, 2008 at 9:57 am

Avatar

Playable quality games in such a format may be quite far away. Essentially, this is like running Java on the Virtual Machine (with the due difference), only the virtual machine, i.e. the browser, is running other pages and his own system, history, bookmarks, feeds and whatnot.

Before this becomes really feasible in a “commercial” quality, besides, browsers would have to support standardized versions of JS and other formats, which is not happening soon.

Comment Form

About

Our domain name comes from a fictional drink in the Ellis comic, Transmetropolitan.

This is our blog. We thrive on the word "geek" and many of us are mere IT students with only a basic grasp of English.

It is all about enjoyment, passion and sometimes hatred for what we blog about.

We can't afford to eat...