SAN FRANCISCO--If you could play high-end, 3D games in your browser at the same speed as on a console, would you? Here at the annual Game Developers Conference, the maker of Firefox revealed a plan to get you to do just that.
Basically, Mozilla is building a way for people to run browsers with all the powers of current plug-ins, but without the plug-ins themselves.
Martin Best, the product manager of games at Mozilla, said he expects game developers to be interested in creating browser-based games because it will cut down on a problem that he called "code fracturing." Developers "only have to support HTML5, instead of many different kinds of native code," he explained.
A demo game from Epic called Citadel (embedded at the top of this story) shows off what the ported Unreal Engine 3 can do. When combined with the in-development Web Real-Time Communication protocol, game developers will be able to make games that incorporate high-resolution 3D graphics and the social interactive aspects in browser-based games.
There's another reason besides gaming for Mozilla to support native code speed in the browser: Firefox OS. The company has spent the better part of the past 18 months, at least, developing Firefox into a mobile operating system.
"It really unlocks the ability for people to take advantage of the hardware on Firefox OS," Vukicevic said.
Of course, developing games for multiple platforms isn't the only arena where "fracturing" is a problem. Browsers suffer from it as well, and while Eich said that ASM.js will work in other browsers now, it's only been optimized for Firefox so far. ASM.js is currently optimized in the Firefox Nightly builds, and is expected to arrive in the Firefox stable in June.
Mozilla's hope is that ASM.js optimization will get into other engines. Without support from its competitors, high-speed, high-resolution games will have to find another way into your browser.
Corrections at 6 p.m. PST on March 27, 2013:The game demo that shows off the ported Unreal Engine is called Citadel, and Brendan Eich described the performance of ASM.js as "predictable."