HTML5/Javascript/CSS for games?

HTML5/Javascript/CSS for games? http://tcrn.ch/9mV8Tc Quake in browser – Flash isn’t the only game-in-town for games online.

In fact there are many examples of high level programming – equivalent to what Flash can do – using the standards-based modern approach using HTML5, Javascript and CSS. Javascript has become very, very much faster (more than 10x) in the last couple of years, at least in modern browsers like Chrome and Safari (and FireFox to a lesser degree).

Here’s how they did it:

“We started with the existing Jake2 Java port of the Quake II engine, then used the Google Web Toolkit (along with WebGL, WebSockets, and a lot of refactoring) to cross-compile it into Javascript. You can see the results in the video above — we were honestly a bit surprised when we saw it pushing over 30 frames per second on our laptops (your mileage may vary)!”

Send a Message