Page 3 of 3

Re: CocoonJS 1.4 and iOS

PostPosted: Wed Jul 31, 2013 4:39 am
by Joannesalfa
[QUOTE=Aelfraed] big pb here too... with cocoonjs 1.3 all is perfect and my simple app run at 63 fps! with cocoonjs 1.4.1 it drop down to 22-44 fps! and not all... the background is shifted a bit to the right (seems like it scaled wrong) switched back to 1.3 for now... hope ludei refine it soon! Anyway thanks to ludei for its fantastic launcher, they are great![/QUOTE]

How do you know it's 1.4.1? I'm seeing it's 1.4 in my ipod touch 4

Re: CocoonJS 1.4 and iOS

PostPosted: Wed Jul 31, 2013 12:21 pm
by martiin
Hey, we build 3 games, our experience with CocoonJS 1.4:

- Most important: all games run much better on Android (Galaxy Ace2, 55-60fps) than on iOs (iphone4, 15-35fps)

- On iOs CocoonJS 1.3 runs better than 1.4

- On Android 1.4 runs better than 1.3

ps.: no text objects used

Re: CocoonJS 1.4 and iOS

PostPosted: Wed Jul 31, 2013 1:09 pm
by goldentreee
I'm not working yet on Android, does someone tried the memory manager on it ? Is it working ?
It's to know if we can expect to have it on IOS when the bugs will be corrected.

Re: CocoonJS 1.4 and iOS

PostPosted: Wed Jul 31, 2013 3:02 pm
by slw666
Oh dear, I am having the same problem. Even worse, my sound has completely vanished!!! Anyone else had this on the iOS version?

I am guessing downgrading is not an option :"(

Re: CocoonJS 1.4 and iOS

PostPosted: Wed Jul 31, 2013 8:14 pm
by Knifegrinder
I don't have now a device to test it.
I have a question for everyone who tested it. Reverting to 2dcanvas fix these performance issues?

Re: CocoonJS 1.4 and iOS

PostPosted: Thu Aug 01, 2013 3:48 pm
by blymi
Hope this helps give people a general idea of things at the moment...

I've been building with cocoonjs compiler, with WebGL turned off, and my apps are generally working well on both Android and iOS.

The games I'm working on at the moment don't work on 1.4 with WebGL turned on, they work fine with it turned off (50fps+ on Android, but framerate is still not great on iOS, 20-40fps).
My games include sound and music, and there are still some bugs related to sound, but sound does work better than it did in 1.3. Biggest issue I've had is that including a music file creates a long hang on Android v2.x. And if I go to home, then back to the app, music double plays and cannot be stopped, even if I've muted the music file.
That's not a problem on iOS, but my iOS apps do seem to hang for a few seconds when the first layout initially draws.

Ludei released v1.4.1 yesterday. I built on cloud compile today and didn't see any fixes of the bugs that I've experienced.

The CocoonJS 1.4 iOS Launcher seems broken, with WebGL on or off, it does not work (for my apps anyway, and some are quiet simple). I removed it and re-installed 1.3 (I backed up the ipa).

It's frustrating for us Construct developers, but I'm sure they'll get there soon. Without CocoonJS I think many of us wouldn't be even close to building decent quality cross-platform mobile games.
Kudos to them, and keep up the good work Ludei!