Project crash when you use MP Object in CocoonJS

Bugs will be moved here once resolved.

Post » Mon Mar 24, 2014 9:56 am

Problem Description
The project dont work in cocoonJS (launcher or compiled if this have the new multiplayer object

Attach a Capx
Attched...

Description of Capx
Is simple project with a text label and multiplayer object, when you are connected, the label says "you are conected".
Works fine in explorer, but crash when you use cocoonJS

Steps to Reproduce Bug
  • Step 1
  • Step 2
  • Step 3 etc.

Observed Result
When you try to run the project in cocoonJS with MP, you can only see a back screen, the cocoonJS debug says this error:
Code: Select all
Javascript exception ( File 'c2runtime.js' Tag: 'script'): TypeError: undefined is not a function
     at s.oncreate
     at a.load
     at new a
     at window.createCocoonJSRuntime
     at c2runtime.js
     at c2runtime.js


Expected Result
I expect my project works, but dont work (?)

Affected Browsers
  • Chrome: (NO)
  • FireFox: (NO)
  • Internet Explorer: (NO)
The buf only affect to Android

Operating System and Service Pack
Windows 8.1 Pro

Construct 2 Version ID
164.2 (64-bit)

Notes
Other users also have confirmed the bug :(
You do not have the required permissions to view the files attached to this post.
B
12
S
1
Posts: 23
Reputation: 760

Post » Mon Mar 24, 2014 11:08 am

CocoonJS is simply incompatible with the multiplayer object (no WebRTC support I think), but does a project with an unused multiplayer object also crashes? or only when you are using it?
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Mon Mar 24, 2014 2:42 pm

Yes I just try to make new project with a empty Event Sheet and add the MP object and crash with same result and error.
B
12
S
1
Posts: 23
Reputation: 760

Post » Thu Mar 27, 2014 4:34 pm

Should be fixed in next build.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Sun Mar 30, 2014 7:04 pm

Thank You Ashley!!!!!!! You are the best for ever!!
B
12
S
1
Posts: 23
Reputation: 760


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests