R139 Physic's engine not working in CocoonJS!?

Discussion and feedback on Construct 2

Post » Fri Jul 26, 2013 4:55 pm

I just tried to open up a physics project and then test it in CocoonJS. It comes up with the message (In CocoonJS):

JavaScript Exception (Line 5755 File: 'c2runtime.js'
Tag: 'script'): TypeError: 'Undefined' is not an object
(evaluating 'window.Box2D.Dynamics')

To double check, I made an ultra simple 'two physic object's in a room' and the same thing happened. Just a black screen and that error in CocoonJS (In the console it says its using CocoonJS native physics and getting stuck, so I would guess thats where its crashing).

I don't want to report it as a bug if its something know, but I couldnt find anything recent in the forum.

Please help!
B
21
S
4
G
4
Posts: 79
Reputation: 3,475

Post » Fri Jul 26, 2013 6:53 pm

It's known. I don't know when it will be fixed though. I think Ludei is saying we need to update our Box2D stuff, and Ashley things CocoonJS needs to update. I'm still not 100% where we are at this point.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Fri Jul 26, 2013 6:59 pm

I'm having this exact error as well. I'm hoping it will be fixed soon. It's rendered my iphone app useless. Do you have any references to the official word?
B
71
S
24
G
11
Posts: 452
Reputation: 12,343


Post » Fri Jul 26, 2013 7:29 pm

[QUOTE=firebelly] Search for Black or Blank screen
https://www.scirra.com/search.aspx?q=black+screen+cocoonjs

https://www.scirra.com/search.aspx?q=blank+screen+cocoonjs[/QUOTE]

I already did actually, most of those are outdated. Since you had referred to the official sources I assumed you had read or communicated something with the official sources.
B
71
S
24
G
11
Posts: 452
Reputation: 12,343

Post » Fri Jul 26, 2013 9:34 pm

I've talked to Ludei themselves, about a week or two ago. They said they are in talks with Ashley about the fix. That said, I don't have Ashely officially saying "It's the Box2D thing" but I know he was also waiting for a new version of CocoonJS or something.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Fri Jul 26, 2013 9:36 pm

Sorry here is the real word.
http://www.scirra.com/forum/black-screen-cocoonjs-and-xdk_topic71730.html
Scirra is waiting on the new CocoonJS version, which isn't out yet (ludei isn't super consistent with hitting dates).
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Sat Jul 27, 2013 2:44 am

[QUOTE=firebelly] Sorry here is the real word.
http://www.scirra.com/forum/black-screen-cocoonjs-and-xdk_topic71730.html
Scirra is waiting on the new CocoonJS version, which isn't out yet (ludei isn't super consistent with hitting dates).[/QUOTE]

Thanks, the fix you posted there worked. I actually contacted ludei a while ago on another issue I had but a few days ago they asked to check it since they had updated. So evidently they have updated it.
B
71
S
24
G
11
Posts: 452
Reputation: 12,343

Post » Tue Jul 30, 2013 4:27 pm

Yes, thank you firebelly. The fix works, though is far to slow. Lets hope it gets sorted soon :).
B
21
S
4
G
4
Posts: 79
Reputation: 3,475


Return to Construct 2 General

Who is online

Users browsing this forum: lukewasthefish, Yahoo [Bot] and 4 guests