28 maart 2013

3d gaming in html5



Mozilla bestudeert hoe ze games vanuit de browser kunnen laten draaien.
Today, we are excited to unlock this technology for high-performance games, by teaming up with Epic Games. By leveraging this new JavaScript optimization technology, Mozilla has been able to bring Epic’s Unreal Engine 3 to the Web. With this port, developers will soon be able to explore limitless possibilities when it comes to porting their popular gaming titles to the Web.
Daarom hebben ze alvast een demospel gemaakt (BananaBread) waarmee je dit kan ervaren.
BananaBread is a 3D first person shooter that runs on the web. It takes the Cube 2: Sauerbraten engine, which is written in C++ and OpenGL, and compiles it using Emscripten into JavaScript and WebGL so that it can run in modern browsers using standards-based web APIs and without the need for plugins.

The project has several goals. First, to serve as a testcase for running a demanding 3D game in browsers: Having a working testcase lets us try out new browser features and to profile performance in order to make browsers faster. Another goal is to prove that games of this nature can run in JavaScript and WebGL, which many people are skeptical about. Finally, all the code in this project is open (and practically all the art assets), so others can learn from this effort and use this code to create their own browser games.

Geen opmerkingen:

Een reactie posten