Quote
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.
I think there's two interesting things going on here. The first and obvious is how far along WebGL has come. This is the first complex project I've seen posted on the web that demonstrates the power of pushing 3D games in the browser. The second interesting part is this Emscripten, an LLVM-to-JavaScript compiler. He has a few more demos posted on his website. Somehow I have doubts that the process is seamless, but I guess I'll have to try it out sometime. It seems a bit much to expect to translate from C++ to JavaScript like that.












