CocoonJS Error

Get help using Construct 2

Post » Fri Jun 21, 2013 8:50 pm

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: "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: [CODE]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?
[/CODE]

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

Oh, almost forgot You might want to have the capx
B
16
S
5
G
4
Posts: 74
Reputation: 3,311

Post » Fri Jun 21, 2013 10:05 pm

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

I modified the capx to run back in r132

capx
B
31
S
6
G
4
Posts: 160
Reputation: 6,003

Post » Sat Jun 22, 2013 6:38 pm

@bon4ire

Thanks! That worked without any problems
B
16
S
5
G
4
Posts: 74
Reputation: 3,311

Post » Thu Jun 27, 2013 12:09 pm

[QUOTE=Sollaano] 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.
[/QUOTE]

Apologies for not being as available as we want. We're doing final tests to the new release, and we're a bit overloaded   
B
9
S
4
G
4
Posts: 383
Reputation: 3,616


Return to How do I....?

Who is online

Users browsing this forum: David181, evillair, tarek2 and 53 guests