lewisje / renderengine

Automatically exported from code.google.com/p/renderengine
MIT License
0 stars 0 forks source link

Adding a "getClassName" method to the Game singleton will silently cause games to not load. #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
0. Use version 1.5.3 code. I'm personally using this on Mac OS X, but this 
error occurred inside of both Chrome and Firefox (and Firefox has traditionally 
been more forgiving).
1. Build a Game singleton, using one of the examples works just fine.
2. Add a static class method (second object literal argument passed to 
Game.extend).
3. Add the getClassName method as a class method.

What is the expected output? What do you see instead?
I didn't expect there to be any problem and that my game would load as normal.
Instead the loading screen appeared and then stopped. No error messages 
anywhere in the console. No errors on download. Game just doesn't load. 

What version of The Render Engine are you using?
1.5.3 release.

What browser and version were you using?
Chrome (whatever the heck version "today's" version is, and Firefox 3.6.16).

Could you duplicate the issue in other browsers? (please list any tried)
Yes (see above).

Please provide any additional information below.
It really does seem to be just the "getClassName" class method. When I add it 
on my extension of the game Object, it prevents the game from loading. When I 
remove it, things run just fine.

Original issue reported on code.google.com by jeremywo...@gmail.com on 17 Apr 2011 at 6:25

GoogleCodeExporter commented 8 years ago
By the way, this is obviously low priority, just thought this might be low 
hanging fruit for anyone who knows the TRE code base better than me.

Original comment by jeremywo...@gmail.com on 17 Apr 2011 at 6:26