Have you tried BananaBread?

6837d514b487de395be51432d9cdd078
0
TheNut 179 Aug 31, 2012 at 12:34 webgl

No, not the tasty loaf, but the WebGL game :P When Mozilla released Firefox 15, they advertised some demos written by the community to showcase the new browser. One of them was called BananaBread, which you can play here. If you’ve played the original Unreal game, there’s a strikingly similar camera movement in the two towers level. Probably an Easter egg for us old school gamers.

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.

2 Replies

Please log in or register to post a reply.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 103 Aug 31, 2012 at 13:44

sorry to be a jip, but couldnt even get past the downloading…

A638aa42130293f319eda7fa4ba121f4
0
fireside 141 Aug 31, 2012 at 15:34

They should have had a super low resolution for my computer. It was running about 1 frame per second on low resolution. Mozilla 15 seems kind of snappy, might try it for a while.