Cocoon Question

Discussion and feedback on Construct 2

Post » Tue Nov 05, 2013 1:02 am

@volkiller730

Yeah, this is much faster now. The only thing that's odd now, is that I have a timer that is counting down, and physics that runs at framerate independence. When the game does lag, the physics slows down, but the timer just continues as normal.

Strange... Not sure how to fix that one.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
80
S
12
G
7
Posts: 965
Reputation: 10,750

Post » Tue Nov 05, 2013 8:14 pm

I think my problems might be solved if I could just get the accelerated physics to work. Each time I try, the menu runs fine, but as soon as I load a level with physics my game sort of hangs. I check the errors in the console, and I see:

JavaScript Exception (Line: 6831 Tag: 'requestAnimationFrame'): TypeError: 'undefined' is not a function (evaluating 'this.body.GetMass()')

I waited a short while, typing the message on my keyboard, and suddenly the music started. I looked back at the console, and I see:

JavaScript Exception (Line: 6831 Tag: 'onactivated'): TypeError: 'undefined' is not a function (evaluating 'this.body.GetMass()')

Are these issues with my code, Construct 2, or CocoonJS?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
80
S
12
G
7
Posts: 965
Reputation: 10,750

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 19 guests