Unity and Mozilla today announced that they are bringing the Unity game engine to the web using the WebGL standard and Mozilla’s asm.js.
With over 2 million users, Unity is one of the most popular game engines on the market.
At the Game Developer’s Conference in San Francisco today, the two organizations will demo a version of the popular 3D shooter Dead Trigger 2 running in Firefox, the only browser that currently supports asm.js. With the release of Unity 5.0 later this year, WebGL support will become available as a Unity early-access beta add-on.
So far, Unity was only available in the browser through a plug-in. That plug-in was very capable and extremely popular, but the trend is clearly away from this kind of architecture and toward applications that run natively in the browser. Because asm.js is just a subset of JavaScript and WebGL is supported in all modern browsers, even games that are optimized for asm.js will still run on every other platform — just a bit slower.
Bron