Cocoon Question

Discussion and feedback on Construct 2

Post » Sun Nov 03, 2013 3:17 pm

I know there have been so many Cocoon queries... sorry to add to that.

Just wondering, has anyone noticed a drop in performance with Cocoon recently? A few weeks ago, I could play my game with CocoonJs 1.4 at around 50fps. This is pretty good, I thought.

The only change I've made recently, is replacing sprites with smaller file size versions, and tweaked the main menu, but when I try it today on r148, I'm suddenly getting 15fps.

I've since gone in and tried to improve the game by tweaking bits here and there, such as reducing the number of on-screen sprites, but that hasn't helped at all.

Just wondering, as the only thing I can see that's changed is the Construct version. I didn't think changing sprite graphics would cause such an issue.

Anyone else?
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Sun Nov 03, 2013 7:41 pm

C2 148 does drop performance it cocoonjs but its beta it will most likly be fixed when the next C2 stable comes out if you dont want to wait till then just downgrade construct back to the last stable version
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Mon Nov 04, 2013 2:49 am

That's kind of a relief. Strange that I hadn't read much about that lately. Maybe I've just been missing it. Hope this does get fixed. My game is finished now, ready for release.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Mon Nov 04, 2013 2:17 pm

@AnD4D @volkiller730

Slow performance in IOS or Android ?

version 1.4.5(IOS) or 1.4.4(Android) ?


B
75
S
22
G
14
Posts: 388
Reputation: 12,222

Post » Mon Nov 04, 2013 2:44 pm

@tumira

Both.

1.4.5 (iOS) and 1.4.4 (Android).
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Mon Nov 04, 2013 2:57 pm

We haven't made any changes in Construct 2's engine that would have a big effect. I think you should ask Ludei about this.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250

Post » Mon Nov 04, 2013 5:11 pm

Thanks @Ashley,

Slightly worried again now. I haven't made any significant changes to my code. When I'm not using physics, I'm getting 60fps, but as soon as a level with physics is introduced, fps just drops down to 15. It's unusual to think that it was fine a few versions back, and as far as I know, Cocoon hadn't changed during that time.

I'm afraid I'm not very interested in contacting Ludei. Unlike you, they take a very long time to respond to questions, and when they do it's usually "Works fine for us".

I note that you're interested in doing your own Chrome based wrapper. Is there anyway we can help toward that, even help fund that? For example, if you were to start a Kickstarter or even an inhouse donation system, I'd happily throw some money into a pot, and I'm sure some others would too.

Unfortunately, I'm currently not too willing to upgrade to a business license until we have a decent mobile exporter, but I would be willing to buy or pre-order an exporter.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
79
S
12
G
7
Posts: 961
Reputation: 10,717

Post » Mon Nov 04, 2013 9:16 pm

well if it was working in the last stable build why dont you go back to that till whatever the problem is gets fixed if your waiting to release your game i think that would be a better option for u

Edit: i had this problem but in the newest beta my framerate has improved back to normal you should test it out maybe it will do the same for youvolkiller7302013-11-04 21:33:38
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Mon Nov 04, 2013 11:30 pm

I second the interest in funding a proper (and supported) mobile wrapper. Anyone else?

B
32
S
4
Posts: 57
Reputation: 1,550

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
79
S
12
G
7
Posts: 961
Reputation: 10,717

Next

Return to Construct 2 General

Who is online

Users browsing this forum: vikuserro and 6 guests