More HTML5 Games

2010-04-02 00:00:00 +0100 by Alex R. Young

Here's some Easter weekend fun stuff -- HTML5 games!

I saw Thomas Fuchs tweet about this HTML5 port of Quake
, which let's face it, is
completely ridiculous. It's not as exciting as it sounds though, because
they had to create a new WebGL renderer, so it'll only work on Safari
(nightly) and Chromium
This really is cutting edge, so don't expect to be able to download a
few files and get it running straight away -- it takes quiet a while to
build everything.

I got it working by following the build

then downloading Chromium and running it from the command line:

./Chromium.app/Contents/MacOS/Chromium --enable-webgl --no-sandbox


Another HTML5 game I've been looking at recently is
WPilot. The code is on GitHub and more digestible than the Quake 2 source, so if you're interested in working
in this area WPilot might be a good project for bootstrapping your

Processing Tower Defense

Processing Tower Defense is another
good example of a browser-based game codebase. It uses
Processing.js, so the drawing code is easy to follow.