CocoonJS accelerated physics broken upon export

0 favourites
  • 12 posts
From the Asset Store
Simple yet very life-like rag doll made with Physics!
  • Hello, I was initially excited to see that r146 the newest iteration of CocoonJS's physics engine, but quickly disappointed to find it still produced an error upon export. I have created a basic capx with physics interaction and accelerated physics in the CJS object. When I export the file and run it within the CJS test app, it produces the black screen and errors I have included below.

    Link to .capx file (required!):


    Steps to reproduce:

    1. Export to Cocoon JS

    2. Run in the CJS app (I receive this error on an iPad with Retina)

    Observed result:

    Black screen, error messages in the CJS console.

    <img src="" border="0">

    Expected result:

    Basic physics behavior functionality with CJS accelerated physics activated. I know the workaround, but I need the extra horse-power.

    <img src="" border="0">

    Browsers affected:

    Not a browser issue--specifically CJS. The capx works just fine in all browsers.

    Operating system & service pack:

    Exported using Windows 7 32-bit, service pack 1.

    Problem occurs on mobile iOS in the CJS app.

    Construct 2 version:

    r146 (32 bit)

  • Have you tried updating the CocoonJS iOS app?

  • My app is up-to-date, yes. If someone could get it running in their app, that would be great to know.

    Edit: Is anyone willing to verify that this error exists?

  • Have you tried using r148? Also, is the CocoonJS launcher 1.4.4 available for iOS yet? It may not work until that's updated.

  • ryguydavis

    CocoonJS v1.4.5 already released on IOS.

  • I'm not aware that Ludei have released 1.4.5 - 1.4.4 is the last Ludei have announced.

  • Ashley

    Today I received an update to my Ipad4. CocoonJS for IOS already updated to 1.4.5. On android it is 1.4.4.

    The release note for 1.4.5 on Itunes is

    "Nothing :)"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ryguydavis - does the original report reproduce on iOS with CocoonJS 1.4.5?

  • I'm having problems with the accelerated physics as well, but not the black screen error. When I export with accelerated physics, it seems like the collision polygons screw up somehow.. My objects are bouncing all over the place and their collisions are all wrong.. doesn't happen with web-based.

    I'm using r146 and tested on IOS 1.4.5 and android 1.4.4

    Gonna try downloading r148 and see what happens.

    EDIT: No dice.. same problem. The physics are really messed up, like it screwed with the collision polygons or something.

  • I've never been able to use accelerated physics. I was getting good fps results on an old version, but now that I've updated to 148, no matter how much I tweak the code to reduce the number of sprites on screen or make the code more efficient, I'm lucky if I get over 15 on Cocoon, and that messes up my game.

  • Ashley

    After making this post I found 1.4.5 available to update and it did fix the black screen error. I have not done any significant testing yet, but the example capx I provided in the post did run correctly.

  • Ashley ryguydavis ludei

    I tested the accelerated physics using Construct2 149 and 1.4.5 launcher on a iPhone 4S and it did work for me on the launcher. I also tested it in the cloud compiler and found that it showed the Launch-logo then the Powered By Ludei splash and then there was a black screen! :( I've never had any differences between an app in the launcher and a compiled app before.

    After switching back to basic physics it worked like it should both in the launcher and as a compiled app.

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