quake2-gwt-port – Project Hosting on Google Code – HTML5 Quake II

Quake II and the Quake logo are trademarks of id Software.

Note: We recently reset the repository to clean some things up, so if you cloned it you may find that the commit ids no longer match, and you’ll need to re-clone. Our apologies for any inconvenience.

Quake II GWT Port

The Quake II GWT port brings the 3d gaming experience of Quake II to the browser.

In the port, we use WebGL, the Canvas API, HTML 5 <audio> elements, the local storage API, and WebSockets to demonstrate the possibilities of pure web applications in modern browsers such as Safari and Chrome.

The port is based on the Jake2 project, compiled to Javascript using the Google Web Toolkit (GWT). Jake 2 is a Java port of the original Quake II source code, which was open sourced by id software.

To make the Jake 2 code work with GWT, we have

  • Created a new WebGL based renderer
  • Ported the network layer for multiplayer games from UDP to the WebSocket API
  • Made all resource loading calls asynchronous
  • Created a GWT implementation of Java nio buffers based on WebGL arrays (to be ported to ECMAScript Typed Arrays)
  • Implemented a simple file system emulation for saving games and preferences using the Web Storage API


I am SO sick of hearing that the iPad sucks because it doesn’t have Flash. This is an example of what HTML5 is capable of. Do you still think that you need Flash to create great interactives? Seriously?

Posted via web from Color and Voice


There are no comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: