Black screen - Cocoonjs and XDK

0 favourites
From the Asset Store
Adjusting the game screen for different resolutions (Letterbox scale)
  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/22406377/spil/PizzaBrain-0.65.capx

    Steps to reproduce:

    1. Exported the project both for CocoonJs and XDK

    2. BLACK SCREEN in both export

    3. No problem in preview ..

    Observed result:

    Exported for Cocoonjs..and worked in older C2 version 137

    this is debug from CocoonJS

    <img src="https://dl.dropboxusercontent.com/u/22406377/spil/2013-07-13_17-24-47.jpg" border="0" />

    Expected result:

    Black screen in both Cocoonjs and XDK

    Browsers affected:

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Works in above browsers

    Operating system & service pack:

    XP - sp3

    Construct 2 version:

    138.2

  • I have got the same problem or at least very simular (it also mentions "dynamics" in the error message.

    Black screen on CocoonJS export. Works fine in preview in pc browser.

    This is a screenshot of the error message on a ipad.

    <img src="https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/error%20in%20138_2.jpg" border="0" />

    Just to note. I am also running version 138.2

  • I was just going to post about this. r138.2.

  • This is because we added some support for the next version of the CocoonJS launcher, which isn't out yet. It should be fixed at the next launcher update (hopefully in a couple of weeks). In the mean time switch to the old physics engine using the CocoonJS plugin property.

  • Okay ..Thanks :-)

    but where do I find the CocoonJS plugin property

    R/flemming

  • I talked to Ludei about this one.

    I think Construct 2 is using an outdated version of our Box2D extension, an easy solution could be to copy the latest release of out Box2D extension from here: bitbucket.org/ludei/cocoon_cocoonjsextensions/src/1cd24033c801e04591d2017db2d2396189d62d63/CocoonJS_Box2D.js and replace it on the c2runtime.js generated by Construct 2.

    We are working with Ashley to solve this issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, r138.2 is now fully up to date with their latest extension. Ludei now need to update the launcher.

  • Would be glad to know how to switch to old engine

  • Would be glad to know how to switch to old engine

    Add the CocoonJS Object.

    Then click it, and edit the properties.

    <img src="http://i.imgur.com/bfrN8PP.png" border="0" />

  • very helpful firebelly thank you so much:)

  • Thanks a lot for the info.

    I was crying in front of my pc because my new game version did not work without an apparent reason...

    Thanks again...

  • I had the same problem, I put the cocoonjs plug-in and the option to run standard web-based but now when I open the game in cocoon the screen is black and it says "2 fps" fixed and after 5 seconds the game closes..

    it is frezzed so i cant click in the fps to see the errors..

  • This is because we added some support for the next version of the CocoonJS launcher, which isn't out yet. It should be fixed at the next launcher update (hopefully in a couple of weeks). In the mean time switch to the old physics engine using the CocoonJS plugin property.

    The new CocoonJS is out in the app store. But i am still getting an error when the app starts.

    Running version 139(64 bit) of construct 2

    <img src="https://dl.dropboxusercontent.com/u/2560922/mobiledev/forum/error%20in%20139%20with%20cocoonjs.jpg" border="0" />

  • cvp have you checked the new Android launcher (1.4.1)?

  • I have the Latest Cocoonjs Launcher 1.4.1 for IOS, and I have R139. When I change the physics engine to Accelerated I still get a black screen with the exact same error... Any news on this issue?

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