More HTML5 Games

02 Apr 2010 | By Alex Young | Tags games html5

Here’s some Easter weekend fun stuff — HTML5 games!

I saw Thomas Fuchs tweet about this HTML5 port of Quake 2, 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 instructions then downloading Chromium and running it from the command line:

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

WPilot

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 ideas.

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.


blog comments powered by Disqus