Coder Social home page Coder Social logo

kripken / bananabread Goto Github PK

View Code? Open in Web Editor NEW
1.4K 109.0 331.0 398.3 MB

BananaBread is a C++ 3D game engine that runs on the web using JavaScript+WebGL+HTML

CSS 0.28% JavaScript 8.74% Python 1.08% C 36.90% Shell 5.67% C++ 40.26% Objective-C 0.66% Objective-C++ 0.02% HTML 4.21% Makefile 1.54% NSIS 0.04% M4 0.02% C# 0.06% Roff 0.10% Clojure 0.15% Ruby 0.28%

bananabread's Introduction

The BananaBread Engine


Notice

BananaBread is no longer under active development. A fork of this project, cfoust/sour, has continued the effort. Among other things, it adds support for multiplayer servers, upgrades the engine to the latest version of Sauerbraten, and supports all of the game's maps.


A port of the Cube 2/Sauerbraten 3D game engine/first person shooter to the web, compiling C++ and OpenGL to JavaScript and WebGL using Emscripten.

See the FAQ.

Demos

A live demo is available. Note that it requires WebAssembly.

Overview

Cube 2 is a compact and efficient 3D game engine. By compiling it to JavaScript and WebGL you can run a complete first person shooter in your web browser, using only standard web APIs and without any plugins.

Features:

  • A multitude of visual effects including water reflection/refraction, parallax mapping, glare, particle effects, lightmaps, skeletal animation (on gpu), etc. etc.
  • Streamlined and quick physics system
  • Ragdoll physics
  • Bot AI with adjustable skill level
  • Integrated in-game editor
  • Fast performance both running on the web or natively
  • zlib license

The original engine also has a lot of other features not yet enabled (but will be):

  • Multiplayer
  • Multiplayer editing
  • Shadowmapping

Building

Get emscripten and its dependencies,

http://emscripten.org

It's recommended to go through the emscripten tutorial to see that it is set up properly.

Then do emmake make client -j8 in cube2/src/web for a web build. (You can also do make in cube2/src/native for a native linux build.)

You can then run bb.html (in cube2/) to see the output.

If you have any problems building, feel free to file an issue here or to find us on emscripten IRC (see emscripten site).

  • See needed.txt for some possibly useful scripts to package the output.

Running

  1. Run python -m SimpleHTTPServer 8888 in cube2/

  2. Load localhost:8888 in your browser

Modding

To use maps of your own or make other kinds of changes or additions to the artwork, see the Modding page.

Debugging

If you append ,debug to the URL of one of the levels, it will use bb.debug.js instead of bb.js. The debug build has not been run through closure compiler and is much more readable for stack traces and profiling and so forth.

License

Code

Code is zlib licensed (just like Sauerbraten):

Copyright (C) 2001-2012 Sauerbraten authors (see cube2/src/readme_source.txt) and BananaBread authors (see below)

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

BananaBread authors:

  • Alon Zakai
  • Gregor Koch
  • Bobby Richter

Art

All art content in this project (levels/maps, character model, etc. etc.) is either CC-BY or CC-BY-SA, which means you can use it in your projects, including commercial ones. If a directory does not contain a specific license file, then it is new artwork created for this project, which has the CC-BY license,

https://creativecommons.org/licenses/by/3.0/

and copyright is held by the Mozilla Foundation.

Previously-existing content can also be CC-BY-SA, see license files in specific directories.

bananabread's People

Contributors

cfoust avatar croydon avatar kripken avatar noahcoetsee avatar sbc100 avatar secretrobotron avatar vvuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bananabread's Issues

Failed Mouse/Pointer detection on Chromium

Version 20.0.1132.47 Ubuntu 12.04 (144678)

Displayed error is "Technical Details: pointer lock/mouse lock is missing".
There is no error in the console.

Works fine on lastest Firefox (Ubuntu), so it's not a hardware/driver failure.

Mouse : Razer diamondback
Touchpad: I have to use proprietary driver for multitouch.

Is that a chromium bug ? (Feels like it)

All-purpose game engine?

"Purely hypothetically", how hard would it be to modify the engine to act as an all-purpose game engine, and not just for FPS?

Multiplayer does not work

When selecting level, I can see "rooms" where it says how many players are in there, but when I try to join, it loads the correct level but I get messages "Attempting to connect..." and "Could not connect to server" in top left corner of the screen.

Edit: Using latest Nightly UX

Cannot load the list of multiplayer rooms

BananaBread game fails to load the rooms list. If we look at the developer console in FireFox browser
( Nightly 32.0a1 (2014-05-06) ) , we could notice the following error :

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://mdsw.ch:8080/socket.io/1/?t=1399415156021. This can be fixed by moving the resource to the same domain or enabling CORS.

This error is preventing the game from loading the rooms list. ForceCORS extension, which helps to disable CORS-related security, cannot solve this problem and is not compatible with latest browsers

SOLUTION: please, enable CORS at your https://mdsw.ch:8080 server . Detailed instructions are
in this article - https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

P.S. WebRTC is working (I tried with another application) my router is set up correctly as well
so, I strongly believe this is a CORS problem

Problem with non-qwerty layouts

In France, because we like to do things differently (we're French, uh!), we don't have qwerty keyboards, but azerty ones. See http://en.wikipedia.org/wiki/Azerty for a description of that lovely (sigh) layout.

This means:

  • wasd is unusable
  • ` doesn't work either, because we're doing it using AltGr+7

I don't have any easy solution in mind. I don't even know if there's a way in Javascript to detect the type of keyboard that's plugged in (I suspect not, and I also suspect that's something we may want to expose as an additional API to web applications at some point). Ideas:

  1. Add a switch somewhere to say "hey I'm azerty, not qwerty".
  2. Allow to remap keys.
  3. Also allow arrows to be used for moving around.

Thanks,

jonathan

Chainsaw sound file is missing and Chainsaw not usable

It looks like if you use all ammunition for your weapons you are left with a chainsaw, however the chainsaw does not appear to load and an error occurs in the console saying that the sound file for the chainsaw cannot be found.

Using Nightly 22.0a1 (2013-03-29)
Windows 7 32-bit

Untitled

WebRTC stacks up messages when receiving data 30x per second in Firefox

Steps to reproduce:

In firefox the listener doesn't work well, when receiving messages 30x per second. The listener is called at inconsistent times. This can be checked with Date now().

To reproduce it:

  1. Make a connection between two peer in two different tabs.
  2. Let one or both send data at 30x per second rate.
  3. 'on('data') -> console.log(Date.now());'
    In Chrome everything works as aspected.

I tested it using PeerJS. The bug has nothing to do with PeerJS itself. It's when using DTLS in firefox.

Actual results:

You will see something like this in firebug (millisecond times):

1392036772332
CLIENT.html (line 870)

1392036772334
CLIENT.html (line 870)

1392036772337
CLIENT.html (line 870)

1392036772340
CLIENT.html (line 870)

1392036772342
CLIENT.html (line 870)

1392036772345
CLIENT.html (line 870)

1392036772546
CLIENT.html (line 870)

1392036772548
CLIENT.html (line 870)

There are 200 millisecond skips every ~4 messages. Sending does work and is called 30x per second.

Expected results:

Receive messages at consistent times. How would a multiplayer game like banana bread be possible if not?

In chrome this works but Firefox to chrome or chrome to Firefox or Firefox to Firefox it doesn't work either. Not even in the canary/nightly versions!

Did I do something wrong?

Error while compiling on ubuntu server

i get the following error when trying to compile in ubuntu server 12.10

/usr/bin/llvm-dis: unknown type in type table
emcc: src/web/client.bc: warning: Not valid LLVM bitcode
/usr/bin/llvm-dis: unknown type in type table
llvm-link: Not enough positional command line arguments specified!
Must specify at least 1 positional arguments: See: /usr/bin/llvm-link -help
Traceback (most recent call last):
  File "/root/games/emscripten/emcc", line 912, in <module>
    shared.Building.link(linker_inputs, in_temp(target_basename + '.bc'), remove_duplicates=remove_duplicates)
  File "/root/games/emscripten/tools/shared.py", line 702, in link
    assert os.path.exists(target) and (output is None or 'Could not open input file' not in output), 'Linking error: ' + output + '\nemcc: If you get duplicate symbol errors, try --remove-duplicates'
AssertionError: Linking error: 
emcc: If you get duplicate symbol errors, try --remove-duplicates
make: *** [client] Error 1

Problem to compile crunch

Hello everybody, I am following the instructions of the "Building" tutorial, I have installed Emscripten and its dependencies but now I can't build crunch. I have downloaded the last version (April 2012) and the Makefile of http://code.google.com/p/crunch/issues/detail?id=1. I went to the crnlib folder and I started make. Here is the result :

julien@julien-H61M-D2H-USB3:~/lib/crunch/crnlib$ make
g++ crn_arealist.cpp -o crn_arealist.o -c
In file included from crn_core.h:90:0,
from crn_arealist.cpp:4:
crn_types.h:15:31: erreur: expected initializer before โ€˜uint64โ€™
crn_types.h:16:31: erreur: expected initializer before โ€˜int64โ€™
crn_types.h:24:10: erreur: โ€˜uint64โ€™ does not name a type
crn_types.h:25:10: erreur: โ€˜uint64โ€™ does not name a type
crn_types.h:33:10: erreur: โ€˜int64โ€™ does not name a type
crn_types.h:34:10: erreur: โ€˜int64โ€™ does not name a type
In file included from crn_core.h:92:0,
from crn_arealist.cpp:4:
crn_traits.h:46:4: erreur: โ€˜int64โ€™ was not declared in this scope
crn_traits.h:46:4: erreur: patron de l'argument 1 est invalide
crn_traits.h:47:4: erreur: patron de l'argument 1 est invalide
In file included from crn_core.h:93:0,
from crn_arealist.cpp:4:
crn_mem.h: In function โ€˜T* crnlib::crnlib_new_array(crnlib::uint32)โ€™:
crn_mem.h:132:7: erreur: โ€˜uint64โ€™ was not declared in this scope
crn_mem.h:132:14: erreur: expected โ€˜;โ€™ before โ€˜totalโ€™
crn_mem.h:133:11: erreur: โ€˜totalโ€™ was not declared in this scope
crn_mem.h:138:72: erreur: โ€˜totalโ€™ was not declared in this scope
In file included from crn_core.h:94:0,
from crn_arealist.cpp:4:
crn_math.h: At global scope:
crn_math.h:60:33: erreur: โ€˜crnlib::math::is_power_of_2โ€™ declared as an โ€˜inlineโ€™ variable
crn_math.h:60:33: erreur: โ€˜bool crnlib::math::is_power_of_2โ€™ redeclared as different kind of symbol
crn_math.h:59:19: erreur: previous declaration of โ€˜bool crnlib::math::is_power_of_2(crnlib::uint32)โ€™
crn_math.h:60:33: erreur: โ€˜uint64โ€™ was not declared in this scope
crn_math.h:95:14: erreur: โ€˜uint64โ€™ does not name a type
crn_math.h:206:14: erreur: โ€˜uint64โ€™ does not name a type
In file included from crn_core.h:95:0,
from crn_arealist.cpp:4:
crn_utils.h:134:29: erreur: โ€˜crnlib::utils::write_valโ€™ declared as an โ€˜inlineโ€™ variable
crn_utils.h:134:29: erreur: โ€˜bool crnlib::utils::write_valโ€™ redeclared as different kind of symbol
crn_utils.h:133:19: erreur: previous declaration of โ€˜bool crnlib::utils::write_val(int, void
&, crnlib::uint&, bool)โ€™
crn_utils.h:134:29: erreur: โ€˜uint64โ€™ was not declared in this scope
crn_utils.h:134:41: erreur: expected primary-expression before โ€˜voidโ€™
crn_utils.h:134:58: erreur: expected primary-expression before โ€˜&โ€™ token
crn_utils.h:134:60: erreur: โ€˜buf_sizeโ€™ was not declared in this scope
crn_utils.h:134:70: erreur: expected primary-expression before โ€˜boolโ€™
In file included from crn_core.h:98:0,
from crn_arealist.cpp:4:
crn_win32_timer.h:7:12: erreur: โ€˜uint64โ€™ does not name a type
crn_win32_timer.h:13:25: erreur: expected โ€˜)โ€™ before โ€˜start_ticksโ€™
crn_win32_timer.h:16:18: erreur: โ€˜timer_ticksโ€™ has not been declared
crn_win32_timer.h:21:7: erreur: โ€˜uint64โ€™ does not name a type
crn_win32_timer.h:24:14: erreur: โ€˜timer_ticksโ€™ does not name a type
crn_win32_timer.h:25:14: erreur: โ€˜timer_ticksโ€™ does not name a type
crn_win32_timer.h:26:35: erreur: โ€˜timer_ticksโ€™ has not been declared
crn_win32_timer.h:29:14: erreur: โ€˜uint64โ€™ does not name a type
crn_win32_timer.h:30:14: erreur: โ€˜uint64โ€™ does not name a type
crn_win32_timer.h:33:7: erreur: โ€˜uint64โ€™ does not name a type
crn_win32_timer.h:34:7: erreur: โ€˜uint64โ€™ does not name a type
In file included from crn_core.h:101:0,
from crn_arealist.cpp:4:
crn_dynamic_wstring.h: In destructor โ€˜crnlib::dynamic_wstring::~dynamic_wstring()โ€™:
crn_dynamic_wstring.h:23:35: erreur: invalid application of โ€˜sizeofโ€™ to incomplete type โ€˜crnlib_assume_failureโ€™
crn_dynamic_wstring.h:23:35: erreur: patron de l'argument 1 est invalide
crn_dynamic_wstring.h:23:83: erreur: invalid type in declaration before โ€˜;โ€™ token
crn_arealist.cpp: In function โ€˜void crnlib::area_fatal_error(const char
, const char_, ...)โ€™:
crn_arealist.cpp:23:46: erreur: โ€˜vsnprintfโ€™ was not declared in this scope
make: *
* [crn_arealist.o] Erreur 1

Have you got any solution for my problem ? :)

PS : If my english is too bad just say it to me and next time I will write with my friend Google Translate :D

Make it easy to use new maps

Current the Makefile needs to be modified and the project rebuilt, to package a new map. We should make that much easier!

issue in Ubuntu 12.04 64bit

i'm tryng to build the web project but i get this error https://gist.github.com/kalwalt/5434625 . i'm new to emscripten. I'don't understand why i get this error. I mworking in Ubuntu 12.04 64bit. i grabbed the latest emscripten from github. LLvm and clang is 3.2. but i have some difficulties for this in the sense i get errors if i haven't installed also the 3.0 version of clang and llvm. i also force ./emconfigure to llvm 3.2 in this way:

[~/bin/emscripten (master)]$ export LLVM_ADD_VERSION="3.2"

thanks.

Error: WebGL: Error during ANGLE OpenGL ES initialization

Firefox 15.0 on Win XP
Video card: Geforce 6800 GS

[00:19:25.764] Error: WebGL: Error during ANGLE OpenGL ES initialization @ https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/js/game-setup.js:71

[00:19:25.765] NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext] @ https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/js/game-setup.js:71

On page update

Uncaught Failure: Invalid glGetString value: 34932 in chromium

I've tried to run the demo at developer.mozilla.org using chromium (22.0.1229.2 (150678)) on Gentoo Linux amd64, but I got the following error (run the game with ,debug to get a meaningful backtrace...)

Uncaught Failure: Invalid glGetString value: 34932 bb.debug.js:347642
_glGetString bb.debug.js:347642
_glGetString bb.debug.js:348970
__ZL16compileasmshaderjRjPKcS1_S1_bb bb.debug.js:221770
__ZN6Shader7compileEv bb.debug.js:221376
__Z9newshaderiPKcS0_S0_P6Shaderi bb.debug.js:222255
__Z6shaderPiPcS0_S0_ bb.debug.js:223430
__ZL7runcodePKjR6tagval bb.debug.js:29319
__Z7executePKc bb.debug.js:29781
__ZL12loadshaders2v bb.debug.js:219965
_emscripten_set_main_loop.wrapper bb.debug.js:350316

I've grepped for that value and found that it's an nVidia and ARB extension (I'm using the binary nvidia driver 295.71):

glext.h:#define GL_PROGRAM_ERROR_STRING_ARB       0x8874
glext.h:#define GL_PROGRAM_ERROR_STRING_NV        0x8874

It works fine using firefox 15.0 on the same machine however.

Full screen in Firefox 22

I'm using Aurora 22 and when I try to play in bunker it doesn't function because the screen doesn't get full and the game screen is in the bottom of the page.

Greetings.

firefox-16.0a2 low frame-rate, missing character textures, etc

Using firefox-16.0a2 (16 aurora), the demo runs but there are some problems. This is running Ubuntu Maverick on a 8 core system with Radeon 5700 series GPU.

  • When selecting low-resolution mode, the frame-rate maxes out at about 8. Selecting high-resolution mode the resolution sits at around 16. Both modes are way too slow for this machine, but the low-res mode is even worse.
  • The character textures do not load. The wall, water, weapon, bullet textures are all there, but the player characters themselves are missing (floating guns).
  • The sound is has crackling and static. This is even worse in low-res mode.

Experimental levels

The experimental levels are missing from the MDN demo! Will they ever be added?

CORS Issue Loading Rooms

When in the BananaBread Games List Window on developer.cdn.mozilla.net (directed from https://developer.mozilla.org/en-US/demos/detail/bananabread/launch) the developer console shows that a request to https://mdsw.ch:8080/socket.io/1/ fails due to CORS configuration:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://mdsw.ch:8080/socket.io/1/?t=1393631220655. This can be fixed by moving the resource to the same domain or enabling CORS.

Seems like it might be preventing the demo from loading the rooms list

Edit: Nightly 30.0a1 (2014-02-28)

status field with hyperlink shows up sometimes when the game is loading, and stays

Sometimes link shows up in the left bottom part of the screen and stays, even after full-screen. I suppose it appeared when I hovered some link before starting the game and it stayed after game went to full-screen. Could not make a screenshot of it with Fraps and after a couple of times (starting game) I no longer saw it. But after that I made a screenshot with FastStone Capture (the cursor or mouse pointer appeared after I made one of the screenshots).
Firefox Nightly 22.0a1 (2013-03-30), Download master extensions (Download master Media Monitor 1.0, Download master Plugin, Download master Remote Download 1.9.1, Download master Toolbar 1.5.7), Ant Video Downloader, VkOpt.
(I didn't install extensions on nightly, there were in Firefox stable but they appeared in nightly also)
I was selecting high resolution, changed some settings (v-sync (there was some problem, I think, don't remember clearly), then animation to high quality and resolution (it switched from 1920x1080 after turning off v-sync so I turned it back, didn't notice which one become instead of it))
2013-04-01_042109
2013-04-01_042117
2013-04-01_042104
2013-04-01_042101
2013-04-01_043753
2013-04-01_043751
2013-04-01_043757
2013-04-01_043808
2013-04-01_043812
2013-04-01_043822
2013-04-01_043831

Can't play any demo (Chromium 25 and/or Firefox 17; "sad face" tab)

Latest stable version of BananaBread. On Chromium, on both computers, I can't start any demo because I get a sad face tab while downloading. On Firefox, I get an error about missing WebGL on my netbook -- I haven't tried on my desktop, though.

This is my desktop:
OS: Xubuntu 12.10
CPU: Intel i7-2600K
RAM: 12GB
GPU: NVIDIA 570GTX, with 304.51 NVIDIA driver

And my netbook:
OS: Xubuntu 12.10
CPU: Intel Atom N455
RAM: 1GB
GPU: Intel HD 3000 with latest (probably) Intel driver

Predict OOM failures

BananaBread in very large maps needs a substantial amount of memory. Perhaps we should check during startup that we can allocate a large typed array as a test for how much memory is available, and fail in a more graceful manner if we must.

"failed adding to system tray" when starting dedicated server.

With the latest update that added the system tray feature for Window servers, my server now produces "failed adding to system tray" when loading, and will not load past that.
Running the previous version with the same command line does not produce this error and the server runs great.
Please add the ability to disable this feature.

The error is coded at:
https://github.com/kripken/BananaBread/blob/master/cube2/src/engine/server.cpp#L991

Thank you, and great game! Been playing it for years.

README.markdown is outdated

We also have a silly non-game example, http://www.syntensity.com/static/night14/fireworks.html

The above URL points to a site of dubious quality.

Cannot load textures in Chrome

When i try running the demo package in Chrome (31.0.1650.57 m),
at localhost:xxxx/index.html,
a level loads with all textures reduced to
green 'No Tex' signs.

In the logs, i see many messages in the format
Cannot find preloaded image xxxx.(png/jpg) game-setup.js
and
[STDOUT] could not load xxx.(png/jpg) game-setup.js
and
[STDOUT] could not read xxxx.cfg game-setup.js
and warnings of the form
WARNING: getProcAddress failed for xxxx game-setup.js
[STDOUT] WARNING: No texture rectangle support. (no full screen shaders) rowser,

I'm guessing its an issue with Chrome,
since everything works fine on Firefox (25.0.1).

Please help me in running the BB demo correctly on Chrome

Loading Problem in Chrome

When I try playing levels 1 and 3 in chrome, it loads most of the way with "Preparing..." and then stops close to the end. Here is what my console says (all the entries are listed as logs, not errors or warnings)...
Level 1:

WARNING: using emscripten GL emulation. This is a collection of limited workarounds, do not expect it to work game-setup.js:12
decrunched packages/gk/lava/lava_cc.dds in 321 ms, 174776 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/lava/lava_nm.dds in 146 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/models/ffflag/ffflag_cc.dds in 207 ms, 1398128 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/models/ffflag/ffflag_nm.dds in 139 ms, 1398128 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/models/ffflag/ffflag_sc.dds in 173 ms, 1398128 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/models/ffpit/ffpit_01_gk_cc.dds in 75 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/models/ffpit/ffpit_01_gk_nm.dds in 51 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/models/ffpit/ffpit_01_gk_sc.dds in 62 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/rock_formation_gk_v01/rock_formation_gk_v01_nm.dds in 49 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/rock_formation_gk_v01/rock_formation_gk_v01_cc.dds in 78 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_gk_v01/castell_wall_gk_v01_nm.dds in 47 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_gk_v01/castell_wall_gk_v01_cc.dds in 22 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
zee'd packages/base/colos.ogz in 1360 ms, 3648696 bytes game-setup.js:101
decrunched packages/gk/fantasy/castell_wall_trim_gk_v01/castell_wall_trim_gk_v01_cc.dds in 39 ms, 43792 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_trim_gk_v01/castell_wall_trim_gk_v01_nm.dds in 39 ms, 43792 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/stone_ground_gk_v01/stone_ground_gk_v01_cc.dds in 34 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/stone_ground_gk_v01/stone_ground_gk_v01_nm.dds in 54 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/stone_ground_tiles_gk_v01/stone_ground_tiles_gk_v01_nm.dds in 21 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/stone_ground_tiles_gk_v01/stone_ground_tiles_gk_v01_cc.dds in 108 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/wooden_roof_tiles_gk_v01/wooden_roof_tiles_gk_v01_nm.dds in 65 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/wooden_roof_tiles_gk_v01/wooden_roof_tiles_gk_v01_cc.dds in 50 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/wooden_planks_gk_v01/wooden_planks_gk_v01_nm.dds in 19 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/wooden_planks_gk_v01/wooden_planks_gk_v01_cc.dds in 25 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_plaster_gk_v01/castell_plaster_gk_v01_cc.dds in 26 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_plaster_gk_v01/castell_plaster_gk_v01_nm.dds in 29 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/iron_plates_gk_v01/iron_plates_gk_v01_cc.dds in 41 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/iron_plates_gk_v01/iron_plates_gk_v01_nm.dds in 45 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/iron_trim_gk_v01/iron_trim_gk_v01_nm.dds in 36 ms, 43792 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/iron_trim_gk_v01/iron_trim_gk_v01_cc.dds in 28 ms, 43792 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/rock_formation_gk_v02/rock_formation_gk_v02_cc.dds in 68 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/rock_formation_gk_v02/rock_formation_gk_v02_nm.dds in 29 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_gk_v02/castell_wall_gk_v02_nm.dds in 26 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_gk_v02/castell_wall_gk_v02_cc.dds in 23 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_gk_v03/castell_wall_gk_v03_cc.dds in 34 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/castell_wall_gk_v03/castell_wall_gk_v03_nm.dds in 17 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/iron_intersection_gk_v01/iron_intersection_gk_v01_cc.dds in 13 ms, 21872 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6
decrunched packages/gk/fantasy/iron_intersection_gk_v01/iron_intersection_gk_v01_nm.dds in 16 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_low.js:6

Level 3:

WARNING: using emscripten GL emulation. This is a collection of limited workarounds, do not expect it to work game-setup.js:12
decrunched packages/gk/lava/lava_cc.dds in 264 ms, 174776 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/lava/lava_nm.dds in 137 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_005/panel_gk_005_nm.dds in 92 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_005/panel_gk_005_cc.dds in 117 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_001/panel_gk_001_cc.dds in 40 ms, 43792 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_001/panel_gk_001_nm.dds in 218 ms, 43792 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_004/panel_gk_004_cc.dds in 93 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_004/panel_gk_004_nm.dds in 65 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_000/panel_gk_000_nm.dds in 53 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_000/panel_gk_000_cc.dds in 32 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_011/panel_gk_011_cc.dds in 49 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_011/panel_gk_011_nm.dds in 81 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_010/panel_gk_010_nm.dds in 132 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_010/panel_gk_010_cc.dds in 56 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_008/panel_gk_008_nm.dds in 56 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_008/panel_gk_008_cc.dds in 42 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_017/panel_gk_017_cc.dds in 59 ms, 21872 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_017/panel_gk_017_nm.dds in 29 ms, 21872 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_013/panel_gk_013_nm.dds in 39 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_013/panel_gk_013_cc.dds in 47 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_006/panel_gk_006_cc.dds in 25 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_006/panel_gk_006_nm.dds in 53 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_012/panel_gk_012_nm.dds in 26 ms, 5488 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_012/panel_gk_011_cc.dds in 49 ms, 5488 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_012/panel_gk_012_cc.dds in 27 ms, 5488 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_015/panel_gk_015_nm.dds in 32 ms, 87440 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_015/panel_gk_015_cc.dds in 34 ms, 87440 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_007/panel_gk_007_nm.dds in 30 ms, 21904 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_007/panel_gk_007_cc.dds in 27 ms, 21904 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/lamps_01_gk/lamps_01_gk_nm.dds in 32 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/lamps_01_gk/lamps_01_gk_cc.dds in 32 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_002/panel_gk_002_cc.dds in 33 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_002/panel_gk_002_nm.dds in 35 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_014/panel_gk_014_cc.dds in 41 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_014/panel_gk_014_nm.dds in 36 ms, 174800 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_016/panel_gk_016_cc.dds in 33 ms, 87440 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_016/panel_gk_016_nm.dds in 31 ms, 87440 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_018/panel_gk_018_nm.dds in 51 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_018/panel_gk_018_cc.dds in 39 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_009/panel_gk_009_cc.dds in 30 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_009/panel_gk_009_nm.dds in 29 ms, 349552 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_003/wall_plate_02_gk_nm.dds in 22 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_003/panel_gk_003_cc.dds in 20 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
decrunched packages/gk/future/panel_gk_003/panel_gk_003_nm.dds in 21 ms, 87408 bytes /media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/game/preload_high.js:6
zee'd packages/base/zoom.ogz in 3206 ms, 14244499 bytes game-setup.js:101

As I said, I have this problem with two levels. I'm using Chrome 21, the latest version. Already enabled pointer lock and restarted the browser.

I read you guys wanted this to be reported if something like this happened, so that's what I'm doing here! Anyways, I generally use BananaBread with Firefox, just thought I'd try it out :P Let me know if you need anything else on my side!

EDIT: Level 2 was working at first, not anymore... It stops at the very end of the loading bar.

Visual errors in edit mode

Using the editor in the fourth example on the test maps page (http://www.syntensity.com/static/night12/) produces some serious visual glitches on OSX firefox nightly. The glitches aren't present in the third example, so perhaps the extra memory or processing demand causes it to buckle.

https://dl.dropbox.com/u/7054348/Screen%20Shot%202012-07-16%20at%2010.49.41%20AM.png

Just flying around will cause geometry to appear/disappear randomly. Sometimes, I needn't even move -- just press E and watch it freak out.

Component failure in Firefox

When trying to play this game in Firefox in Windows XP SP3, I get the following error when the "downloading..." text appears:

Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]
Source file: https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/js/game-setup.js
Line: 71

I've tried Firefox 14.0.1, 15 and the nightly loads and all give the same error. I've also tried a new profile with the same results.

Edit:

The web console displays the following:

[13:37:15.921] Error: WebGL: Can't get a usable WebGL context @ https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/js/game-setup.js:71
[13:37:15.922] NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext] @ https://developer.mozilla.org/media/uploads/demos/a/z/azakai/3baf4ad7e600cbda06ec46efec5ec3b8/bananabread_1346106841_demo_package/js/game-setup.js:71

Windows compatible makefile

Tried to run make on the Makefile at
cube\src\web
in Windows 7,
but it fails mainly because of the windows convention of ""
as opposed to "/" in UNIX.

After replacing the slashes, other issues emerge such as

make[1]: Entering directory 'xxx/cube2/src/web/enet' make[1]: *** No rule to make target all'. Stop. make[1]: Leaving directory 'xxx/cube2/src/web/enet' make: *** [libenet] Error 2

Please suggest a suitable way to 'make' on Windows.
Else, a Makefile specific to Windows would be useful.

Precision mismatch

A few months ago, some WebGL conformance fixes were made for Chrome: https://code.google.com/p/chromium/issues/detail?id=249018 These fixes include a check that the precision of uniforms match when linking GLSL programs, which is necessary for e.g. https://www.khronos.org/registry/webgl/conformance-suites/1.0.2/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html

I am not sure if it is a bug in BananaBread itself or the demo on https://developer.mozilla.org/demos/detail/bananabread, but with recent Chrome versions containing this new check, this leads to some shaders not linking, which again results in strange colors and some output of the form

[STDOUT] Uniforms with the same name but different type/precisio

in the console. FireFox is not WebGL conformant in this respect (see Khronos link above) and happily links the program nevertheless, so the demo works with it.

In detail the problem is as follows: In the vertex shader (which uses "precision highp float" per default, see GLSL spec) we have:

uniform vec4 waterfadeparams;

and in the fragment shader (which has no default for float) we have:

precision mediump float;
uniform vec4 waterfadeparams;

Chrome correctly detects the precision mismatch and refuses to link the program. There are several other uniforms in the demo with similar problems: depthfxparams, envscale, glowcolor, lightdir, lightscale, parallaxscale, specscale, ...

Problems editing the entities

I had hard time editing entities in the BananaBread editor (stable demo from mozilla.org) - the F3 didn't work, had to press ~ -> editor -> entities -> show GUI (or whatever it's called, i can't really remember) and then the window popped out. The problem was that whatever I set in the window, it couldn't get saved. The only way to edit, say, a jumppad was to select an object and press dot key.

Crash (black screen) when disabling shaders

To reproduce: type /shaders 0 and confirm. The CPU usage remains fairly low even though the screen is black and you can't do anything.

Some other settings that require confirmation like /fsaa (anti-aliasing) or /aniso (anisotropic filtering) work.

Firefox 29 โ€‘ Xubuntu 14.04, 64 bits โ€‘ NVIDIA 331.38, GeForce GTX 570

sometimes game get stuck

hi, you can find console log here

http://pastebin.com/3GRMT1Nm

there are different warnings and errors like not found assets

most messages are in english (some in romanian)

Ubuntu 12.04
32 bit
pae kernel
4 gb ram
1 gb video
core 2 duo 2.4

Crash when changing gamma

When changing gamma (eg. with /gamma 125), the game crashes.

Browser: Firefox 17
OS: Xubuntu 12.10
CPU: Intel i7-2600K
RAM: 12GB
GPU: NVIDIA 570GTX, with 304.51 NVIDIA driver

BananaBread Demo will not load twice

When loading the BananaBread Demo a second time, the page will stop loading on the "Downloading..." message. The browser remains responsive but the demo will not continue loading.

Steps to reproduce:

  1. Open Nightly 22.0a1 (2013-03-29)
  2. Clear History (clear "Everything" with all options selected)
  3. Navigate to the demo page, https://developer.mozilla.org/en-US/demos/detail/bananabread
  4. Press Launch Demo. Press Start Playing. Under Create A Game, select Colony.
  5. The game will finish loading. Select Low Resolution.
  6. Once in the game press escape and press Quit
  7. You will be returned to the demo page. Press Start Playing. Under Create A Game, select Colony.
  8. The game hangs on the "Downloading..." prompt

Workaround:
Restart Nightly after quitting the demo (no need to clear history). After navigating back to the page will load correctly.

Capture

burn.ogg can not be loaded (is missing?)

if i jump into the lava in the 3rd demo a message appears telling me that /burn.ogg can not be loaded. if need be i can supply the full path.

the same happens in the 5th demo (lava rooms) and if a bot falls into the lava (AFAICS).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.