CocoonJS Error

0 favourites
  • 4 posts
From the Asset Store
Use this game pack to create your own game, modify the existing game or simply take a look and see how it was made.
  • Hi!

    I ask this on C2 forums cause Ludei's forums are kinda dead. I tried to ask this question there but nobody answered. So i thought someone here might have solution for my problem.

    This is the error i get: <font color="red">"JavaScript Exception (Line: 4951 File: '8306936' Tag: 'requestAnimationFrame'): TypeError: Result of expression 'Me' [undefined> is not a constructor." It doesn't show up in first layout but when you click button that takes you to the next layout. Then i checked the code and line 4951 looks like this:

    this.g.Qh(b);if(c&&c!=this.R&&c.$.We){c.$.We.Ng.Vh.add(this.R);var e=this.nl(a),f=this.ol(a),g=new Me;g.pc(this.body,c.$.We,d.q(0.02*e,0.02*f));this.me.push(this.Yd.Fm(g))}}};k.Py=function(a,b,c,e){if(this.enabled&&(b=this.g.Qh(b))&&b!=this.R&&b.$.We){b.$.We.Ng.Vh.add(this.R);var f=this.nl(a);a=this.ol(a);var g=new Me;g.pc(this.body,b.$.We,d.q(0.02*f,0.02*a));g.Gj=p;g.Vu=ya(c);g.pw=ya(e);this.me.push(this.Yd.Fm(g))}};b.prototype.Rx=function(a){this.enabled&&this.Nj!==(0!==a)&&(this.Nj=0!==a,this.body.Sx(this.Nj?
    

    Sadly i don't know much about coding. This was all i could tell to you.

    Oh, almost forgot <img src="smileys/smiley1.gif" border="0" align="middle"> You might want to have the capx

  • Try using version r132 of C2 since it uses the older physics.

    I modified the capx to run back in r132

    capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • bon4ire

    Thanks! That worked without any problems <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi!

    I ask this on C2 forums cause Ludei's forums are kinda dead. I tried to ask this question there but nobody answered. So i thought someone here might have solution for my problem.

    Apologies for not being as available as we want. We're doing final tests to the new release, and we're a bit overloaded   <img src="smileys/smiley18.gif" border="0" align="middle" />

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