Truly a web game, Monster Madness is unveiled

Dec 14, 2013 by Nancy Owano weblog

(Phys.org) —The director of Nom Nom Games, a subsidiary of Trendy Entertainment, has converted the Monster Madness game to the Web using technologies pioneered by Mozilla. Jeremy Stieglitz, Development Director and CTO for Trendy Entertainment, made it quite clear in a video that he regards the move as significant, in that this is a brave new world of direct access to a plugin-free commercial game, using asm.js and Emscripten. The latter is an open source optimizing compiler for LLVM applications that generates pure JavaScript to run directly on the Web.

The shooter role-playing game needs only the web browser to get going. You are not asked to sign up for anything. "We take our existing game and compile it into a format that the browser is able to run. There is no barrier to entry. Anyone can just go to the website and start playing," he said.

Stieglitz pointed to the significance not only for game enthusiasts but for game developers. "To be able to reach consumers directly like that is a real game-changer. Previously, to get a high end game in the browser, you had to create a custom plugin and that is a tough proposition technically and for the game developer to do that, and also for the consumer, because they have to install something and they do not necessarily know what it is going to do to their machine."

With asm.js there is nothing to install; the browser already has the JavaScript functionality built in and the performance, he added, is nearly as good as native code. (Asm.js which has been a research project at Mozilla, is described as a low-level, extraordinarily optimizable subset of JavaScript.) In a Mozilla blog posting on Thursday, Martin Best, game platform strategist, said, "Thanks to the Mozilla pioneered asm.js, it is now feasible to run code compiled from languages such as C and C++ on the Web, in a way that is compatible with all modern browsers." The asm.js, he added, provides developers with a large range of options in which languages they can use, while preserving performance and portability and ease of deployment of the Web.

This video is not supported by your browser at this time.

Meanwhile, Stieglitz on Thursday commented on the experience of making the game browser-available, in a posting on Mozilla Hacks (Robert Nyman is technical evangelist for Mozilla and editor of Mozilla Hacks). "When our engineering teams at Trendy Entertainment & Nom Nom Games decided on the strategy of developing one of our new Unreal Engine 3 games —Monster Madness Online— as a cross-platform title, we knew that a frictionless multiplayer web browser version would be central to this experience."

To pull this off, they determined that rewriting the game engine from the ground-up was out of the question. They sought a solution where they could port their existing code in an efficient way into a format usable in the browser. The Emscripten compiler and asm.js proved to be the best solution and "when combined with a set of other new-ish Web API's, enabled the browser to become a fully featured platform for instant high-end 3D gaming. This just took a little trial and error to figure out exactly how we'd piece it together."

The game launch steps into a brave new world. "We Trendy game engineers are primarily old-school C++ programmers, so it was something of a revelation that Emscripten could compile our existing application (built on Epic Game's Unreal Engine 3) into asm.js optimized JavaScript with little to no changes."

The official release of Monster Madness has not yet happened; the release is set for May, but an "early alpha version" was released online Thursday. Access is possible by going to the Monster Madness website using either Mozilla's Firefox , Google Chrome or Opera. This is a "technical demo" where one can play the preview of the game instantly.

"We at Trendy," he said, "envision a day when anybody can play any game no matter where they are or what device they happen to have, without friction or gateways or middlemen. With the right combination of these cutting-edge web technologies, that day can be today. We hope other enterprising game developers will join us in reaching players directly through the , which thanks to Emscripten & asm.js, may well become the most powerful and far-reaching ' console' of all!"

Explore further: Google, Mozilla are tweaking browsers for Web-based games

More information: developer.mozilla.org/en-US/docs/Web/JavaScript
github.com/kripken/emscripten/wiki
hacks.mozilla.org/2013/12/monster-madness-creating-games-on-the-web-with-emscripten/

Related Stories

Mozilla's pdf.js project reaches its first milestone

Jul 06, 2011

(PhysOrg.com) -- You may recall our earlier reporting on the Mozilla's pdf.js project, in which the folks over at Mozilla are trying to get their browser to display PDF files in your Firefox web browser with ...

Cube Slam: Google's video game plays up WebRTC, WebGL

Jun 14, 2013

(Phys.org) —Google has a new game called Cube Slam where you get to slam a cube into another player's screen target. If you hit the cube against the other player's screen three times, terrific, the screen ...

Mozilla unleashes sleek new Firefox Web browser

Mar 22, 2011

A fast, sleek new version of Firefox was released on Wednesday to vie Microsoft's Internet Explorer 9 (IE9) and Google Chrome in the fiercely competitive market for Web browsing software.

Recommended for you

Android gains in US, basic phones almost extinct

16 hours ago

The Google Android platform grabbed the majority of mobile phones in the US market in early 2014, as consumers all but abandoned non-smartphone handsets, a survey showed Friday.

Hackathon team's GoogolPlex gives Siri extra powers

Apr 17, 2014

(Phys.org) —Four freshmen at the University of Pennsylvania have taken Apple's personal assistant Siri to behave as a graduate-level executive assistant which, when asked, is capable of adjusting the temperature ...

Microsoft CEO is driving data-culture mindset

Apr 16, 2014

(Phys.org) —Microsoft's future strategy: is all about leveraging data, from different sources, coming together using one cohesive Microsoft architecture. Microsoft CEO Satya Nadella on Tuesday, both in ...

User comments : 6

Adjust slider to filter visible comments by rank

Display comments: newest first

Eikka
not rated yet Dec 14, 2013
Trying any of the prototypes, I'm stuck in an endless "Preparing Javascript..." screen.

So much for the no-hassle no-install just-play.

It's also a bit inefficient to be streaming all the game resources such as sounds, textures and data to the user every single time, because that stuff can easily be gigabytes for a modern game. Even if the game is reasonably small, trying to access it over a slow link is going to be a bother.
sirchick
not rated yet Dec 14, 2013
^^ Worked fine for me in google chrome.
NOM
not rated yet Dec 14, 2013
What's not to like?
PoppaJ
not rated yet Dec 14, 2013
I got in and played. however there is a major deal breaking issue! the game kept wanting to download huge amounts off data for offline use! For an online only game this is completely inappropriate and a sign of nefarious activities. Everyone be warned there is most definitely tracking software as well as add ware coming in with this game. As the old saying goes. Nothing in life is free!
Expiorer
not rated yet Dec 15, 2013
alfie_null
not rated yet Dec 15, 2013
It's also a bit inefficient to be streaming all the game resources such as sounds, textures and data to the user every single time, because that stuff can easily be gigabytes for a modern game.

I'd be surprised if that is the way it will (eventually) work for anything but the smalled apps. Content will be cached locally.

More news stories

Health care site flagged in Heartbleed review

People with accounts on the enrollment website for President Barack Obama's signature health care law are being told to change their passwords following an administration-wide review of the government's vulnerability to the ...

Airbnb rental site raises $450 mn

Online lodging listings website Airbnb inked a $450 million funding deal with investors led by TPG, a source close to the matter said Friday.

Under some LED bulbs whites aren't 'whiter than white'

For years, companies have been adding whiteners to laundry detergent, paints, plastics, paper and fabrics to make whites look "whiter than white," but now, with a switch away from incandescent and fluorescent lighting, different ...