Friday, May 23rd, 2008
JavaScript Super Mario Kart
Jacob Seidelin keeps on going, and has created a Super Mario Kart prototype:
It uses the canvas element to do most of the rendering and should work in both FF2, FF3, Opera(9.27 and beta) and Safari 3.1.1. There are a few glitches in Safari in the kart sprites, but other than that it should be playable. Also, if you’re using WebKit nightly builds, make sure you’re using the latest, as some of the recent ones had some canvas problems. I haven’t even considered getting IE support, sorry.
The (minified) code weighs in at about 11 Kb, but unlike the Mario game from last month, this one uses several external image files. This was more a test of how smooth I could get a game like this to feel, anyway, so filesize wasn’t an issue. I think it runs pretty ok, though.
There are a couple of rendering settings you can play with. “Quality” controls how many vertical lines are rendered, “Screen scale” controls the size of the screen (duh). Both trade visual appearance for performance.













Awesome! The right game for my last 10min @ work for today :)
I really started laughing when Princess Peach just drove in circles… very cool :)
I’m impressed. Well done.
Brilliant :))))
Who says Open Web cannot be 100% COOL…!! ;)