Chris Alexander

On Engineering

Quake 2 in the browser

9th April, 2010

A few days ago, I was at a Google-organised event in London talking about open source technologies and how they form the foundation of various projects.

I was first last week to break news of Quake 2 running inside Google Chrome, which was demoed at the event - awesome!

(No alt specified)

The Googlers took the Java port of Quake 2, ran it through a translator to translate it to JavaScript, then sat it on top of some of the cool new web technologies that are available in the bleeding-edge Chrome and Webkit builds. It uses Canvas, HTML 5 audio, local storage, web sockets, hardware acceleration and just about every cool bit of the HTML 5 set of technologies that I can think of to pull the experience off.

It’s not all fun and games, though - to run it, you need the latest Chrome build, a fairly decent computer, and to run Chrome with some startup flags that do things like disable the sandboxing in the browser - something you wouldn’t want to do then run a normal webpage (this is to permit the hardware acceleration to work). But other than that, it’s pretty fun and an awesome demonstration of what will soon be possible in standard web browsers!

The project’s homepage is on Google Code, and check out the video below!