Created
November 7, 2012 23:36
-
-
Save ZachMassia/4035388 to your computer and use it in GitHub Desktop.
melonJS error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Browser error: | |
Uncaught TypeError: object is not a function melonJS-0.9.5.js:411 | |
Object.extend melonJS-0.9.5.js:411 | |
obj.newInstanceOf melonJS-0.9.5.js:4960 | |
api.addEntity melonJS-0.9.5.js:1326 | |
api.loadTMXLevel melonJS-0.9.5.js:1273 | |
obj.loadLevel melonJS-0.9.5.js:11212 | |
me.ScreenObject.extend.onResetEvent main.js:64 | |
me.ScreenObject.Object.extend.reset melonJS-0.9.5.js:1801 | |
_switchState melonJS-0.9.5.js:2084 | |
(anonymous function) melonJS-0.9.5.js:529 | |
main.js:64 : | |
PlayScreen = me.ScreenObject.extend({ | |
onResetEvent: function() { | |
return me.levelDirector.loadLevel("area01"); // <--------- 64 | |
}, | |
onDestroyEvent: function() {} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment