Mozilla announced today the release of Firefox 15, a new version of the open source Web browser. The update brings a number of noteworthy enhancements, including new built-in development tools and enhanced support for cutting-edge Web standards that enable sophisticated gaming experiences. Under the hood, Firefox 15 introduces a new optimization that can radically reduce the browser’s memory footprint for users who rely on many add-ons.
As we have discussed in much of our recent browser coverage, modern standards-based Web technologies are increasingly capable of supporting the kind of interactive multimedia experiences that used to only be available through plugins or native applications. The major browser vendors, which are all working to further expand the range of capabilities offered by the Web, have recently taken an interest in enabling game development.
Mozilla has been working on a number of relevant features, including an API for displaying content in fullscreen mode, support for mouse-locking, and sophisticated real-time audio mixing functionality. Earlier this year, Mozilla launched its own real-time multiplayer adventure game called BrowserQuest with the aim of showcasing HTML5 gameplay. The open Web is clearly a serious contender for casual gaming.
The latest round of browser improvements are paving the way for even more elaborate gaming experiences. In Firefox 15, Mozilla has added native support for using compressed textures in WebGL, lowering the overhead of using high-resolution images in video memory. Firefox 15 also includes support for the new high-precision time APIs, which provide support for sub-millisecond time measurement—useful for making games with lower latency, smoother animation, and properly synchronized audio.
The BananaBread demo, a 3D first-person shooter, offers a particularly compelling example of what developers can presently achieve with WebGL, compressed textures, pointer lock, and fullscreen support. The BananaBread engine is a JavaScript and WebGL port of the 3D game engine used in Cube 2: Sauerbraten. The initial port was accomplished by Mozilla researcher Dr. Alon Zakai (kripkenstein in the Ars forums) using Emscripten, a sophisticated LLVM-based tool for transpiling conventional C/C++ code into JavaScript.
The demo allows the user to fight against bots on three separate maps. The user can choose from several different weapons, customize the number of bots, and toggle between first- and third-person views. The engine also has an edit mode which allows the user to fly around and modify the current level. I tested the demo in Firefox 15 and found that the high-resolution mode was playable on my MacBook Air.

Loading comments...