Jump to content

3D Quake II to the browser


-=Medic=-

Recommended Posts

 

 

Source: quake2-gwt-port

 

they test it only on Chrome Development Branch and Safari Webkit Nightly Builds

 

 

Quake II and the Quake logo are trademarks of id Software. The GWT Quake II 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 WebSockets
  • Made all resource loading calls asynchronous
  • Created a GWT implementation of Java nio buffers based on WebGL arrays
  • Implemented a simple file system emulation for saving games and preferences

http://www.youtube.com/watch?v=fyfu4OwjUEI

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.