Hello,
I am creating a game with Cocos2d-x-jsb-2.2.3 and in HTML5 version I had error that cp is not defined so I copied jsb_chipmunk.js into my published-html5 files directory and modified files: boot-html5.js and cocos2d-html5.min.js to load this file. Source of this solution: [Resolved][html5] Chipmunk not loade by .min version of cocos2.2?
Next after running this game on browser I have following error:
Uncaught TypeError: undefined is not a function
which points to line in my code:
space = new cp.Space();
Could you help me?
Thanks in advance.
Best regards.