This web player is for the Unreal Development Kit, and works very well without a browser plugin. I'm wondering how it is built.
How do I create a web player for a game engine written in C++?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityThis web player is for the Unreal Development Kit, and works very well without a browser plugin. I'm wondering how it is built.
How do I create a web player for a game engine written in C++?
Emscripten can be used to port C++ applications to javascript. It was able to succesfully make the Unreal 3 engine run in a web browser.
It works best in browsers which support asm.js, an optimization-friendly subset of the Javascript language which can reach performance comparable to native code.
pepper.js allows you to write C++ code and then deploy directly as:
From the project page:
pepper.js is a JavaScript library that enables the compilation of native Pepper applications into JavaScript using Emscripten. This allows the simultaneous deployment of native code on the web both as a Portable Native Client (PNaCl) executable and as JavaScript. Native Pepper applications can now be run in Chrome, Firefox, Internet Explorer, Safari, and more.
Disclosure: I work on the Chrome team.