Cocoon IO, Canvas+ Cordova export - Physics issue

For developers using the Construct 2 Javascript SDK

Post » Fri Sep 04, 2015 9:46 am

Anyone competent enough to look at this thread and see if you can help? There is an issue with Physics (Box2d Web) when using Cocoon's Canvas+. The thread gives more info on the c2runtime.js errors it gives. It works fine when using Webview. The developers at Cocoon can't seem to find what's wrong. My knowledge ends here. I hope there is someone out there to provide a fix or shed some light on this major issue. :roll:

https://forums.cocoon.io/t/construct-2- ... een/166/16

-------------------------------------------------------------------------------------------------------------------------------------
Construct 2 r210 beta
Box2Dweb
Canvas+
This is the error I get in the developer app.

JavaScript Exception (Tag: 'requestAnimationFrame'): TypeError: undefined is not a function
at new Box2D.Dynamics.b2FixtureDef (c2runtime.js:25938:16)
at behinstProto.createBody (c2runtime.js:31868:16)
at behinstProto.tick (c2runtime.js:32103:9)
at Runtime.logic (c2runtime.js:5115:29)
at Runtime.tick (c2runtime.js:5016:8)
at tickFunc (c2runtime.js:3846:47)
B
7
S
2
Posts: 11
Reputation: 637

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests