CocoonJS & Physics

Get help using Construct 2

Post » Sun Feb 16, 2014 4:14 am

Is it normal, that the physics go crazy with the CocoonJS launcher? :(

If I try the game in the browser everything is fine. But when I run it with CocoonJS the physic force command is about twice-triple as strong.


Thanks in advance.Alyra Games2014-02-16 04:14:22
B
10
S
2
Posts: 135
Reputation: 1,090

Post » Sun Feb 16, 2014 7:50 am

what i found with CocoonJS is that my sounds doesnt play, its all muted, any idea? And for your problem what phtsics setting are you using on your project configuration tab?
B
13
S
3
Posts: 101
Reputation: 1,238

Post » Sun Feb 16, 2014 4:21 pm

Do you use 16-bit PCM wav files? Its recommended. Thats all I can say about sound. :/

I think its the "Set physics world stepping mode framerate independent" that is bugged. If i disable that the physics are not perfect, but "ok". But the physics than run in slowmotion on my 30 fps smartphone.
B
10
S
2
Posts: 135
Reputation: 1,090

Post » Sun Feb 16, 2014 5:30 pm

I've stopped using physics and cocoonjs completely. I find a lot of things in Construct 2 don't work. Physics being one of them.
B
56
S
15
G
13
Posts: 826
Reputation: 17,645

Post » Sun Feb 16, 2014 7:18 pm

@Tekniko then with what u deploy your game?
B
3
Posts: 15
Reputation: 332

Post » Sun Feb 16, 2014 8:30 pm

@Marwan Intel XDK unfortunately.
B
56
S
15
G
13
Posts: 826
Reputation: 17,645

Post » Sun Feb 16, 2014 9:40 pm

@Tekniko Ill just ask here, is the Emulator in the Intel XDK trustworthy? I tested my game there and it runs really good will it run like that in the real device, i dont have Android devices to test on =Ssachos3452014-02-16 21:41:00
B
13
S
3
Posts: 101
Reputation: 1,238

Post » Sun Feb 16, 2014 9:43 pm

The emulator will vastly outperform most mobile devices. If there's any way you can use a mobile for testing it's better to start early and save lots of possible re-writing of your game in case you ask too much of a handset.
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sun Feb 16, 2014 10:07 pm

@Tekniko i searched for like 3 days to find out the best .... umm what u call them? (PhoneGap,CrossWalk,CocoonJs) preformance it give fore Android App deployment . the the most thing i really want to know..
HOW U PUT ADS there?
B
3
Posts: 15
Reputation: 332

Post » Sun Feb 16, 2014 10:49 pm

Than I will also stop using CocoonJS. What easy to use Compiler for Android & iOS can u suggest?
B
10
S
2
Posts: 135
Reputation: 1,090

Next

Return to How do I....?

Who is online

Users browsing this forum: Artcadev, R0J0hound, volumetv and 15 guests