Project crash when you use MP Object in CocoonJS

0 favourites
  • 5 posts
From the Asset Store
112 High-Quality destruction sounds for videogames
  • 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:

    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[/code:1gofypox]
        
    [b]Expected Result[/b]
    I expect my project works, but dont work (?)
        
    [b]Affected Browsers[/b]
    [ul]
        [li] Chrome: (NO)
        [/li][li] FireFox: (NO)
        [/li][li] Internet Explorer: (NO)[/li][/ul]
    The buf only affect to Android
        
    [b]Operating System and Service Pack[/b]
    Windows 8.1 Pro
        
    [b]Construct 2 Version ID[/b]
    164.2 (64-bit)
    
    [b]Notes[/b]
    Other users also have confirmed the bug
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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?

  • 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.

  • Should be fixed in next build.

  • Thank You Ashley!!!!!!! You are the best for ever!!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)