Revolute Joints not working in CocoonJS

0 favourites
  • 2 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • ---UPDATE---

    No need to read what's below the double line anymore... the error has gone with r138.2

    Now I just have the same issue left like described here...

    Hope this will be gone soon with some CocoonJS update.

    Or is there another solution?

    BTW: how/where can I switch to the other physics-engine?

    Cheers, Mig



    Hi, I am posting this here just to let you know about an annoying bug that prevents me from getting my game working on mobile via CocoonJS.

    It might be Ludei's responsibilty as the problem only appears when launching with CocoonJS, but who knows.

    I basically just want to rotate an object around a hotspot using forces/impulses. Sounds simple and easy, and it works on the PC (Firefox) just as expected.

    Link to .capx file (required!): (not minified)

    Steps to reproduce:

    1. Launch zip-file in Android CocoonJS launcher.

    Observed result:

    In the debug console it will show error messages indicating that something with revolute joints doesn't work. Then only black screen. As soon as the revolute action is removed/disabled error doesn't appear.

    Expected result:

    Gravity should affect the large rectangle and rotate it around hotspot 1 (on the right). It works as expected in firefox on the desktop (run capx to see yourself)

    Browsers affected:

    Android CocoonJS

    Construct 2 version:

    beta r136; but I've had this issue before with stable version r132 as well

    Would be great if you could check it for yourself and give me feedback, or even help me to find some possible workaround.

    Thanks for any help, Mig

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In your update to r138 it states:

    "CocoonJS: accelerated physics will now work with applying forces and torque when the next CocoonJS launcher comes out"

    Since there were 6 months between cocoonjs 1.3 and 1.4 is it possible it might take another 6 months until this physics issue is fixed?

    That would be very depressing. Am still hoping for some quicker solution. <img src="smileys/smiley5.gif" border="0" align="middle" />

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