Hello, I’m only posting this in the off-chance that someone has enocuntered this error before and so can point me in the right direction, as I have no clue as to what’s going on:
I copied the “template” folder on v2.15 and started hacking away, then, at some point, something went wrong, and now I keep getting an error in the console claiming “TypeError: this.ctor is undefined” pointing to “cocos2d/platform/CCClass.js” line 176 which is:
var Class = new Function(functionBody);
I’ve tried to find out exactly from where this is coming from, but I have only “succeeded” in finding out that it seems to happen at some point during the creation of the my main scene or my main layer on “src/myapp.js”.
I don’t want to re-do all the work I’ve already put into it (althought it’s not that much), but if no-one’s been in this position before I guess I’ll just have to start over and be more careful as to what I touch..
PS: yeah, I know I should be posting my entire source, but I can’t do it right now and neither do I feel like making someone suffer thru my noobish code.