Does it slowdown performance?

Get help using Construct 2

Post » Sun Jan 08, 2012 6:35 am

Invisible objects have a very small performance impact. Usually it's ignorable and you won't see any difference in FPS if you destroy invisible objects or not. However if you have *loads* of invisible objects - 99 complete levels worth of objects is loads! - this could cause a severe slowdown. It might be what's causing Firefox to choke. I would highly recommend you break everything out in to layouts, that's what they're for.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Sun Jan 08, 2012 6:10 pm

[QUOTE=Yann] @SplashHunt
About the "OMG I bought c2 for nothing" I don't think you wasted your money unless game creation was just a temporary interest. Well... I'm biaised 'cause I use C2 all the time, but well at least you bought it for 32$... It will go up soon
Also yeah next time you do something crazy like mass layer or something like that. Go check the manual/tuts and if you find nothing, ask... 'cause you know, in programming being lazy is a quality.[/QUOTE]

Well, I Don't know if I'm going to use this often, or just use it for this game :(
If HTML5 get bigger, more supported and faster, then it won't be a waste of money. And this is a web app,so its harder to sell or make popular among iOS and Android.


[QUOTE=Ashley] Invisible objects have a very small performance impact. Usually it's ignorable and you won't see any difference in FPS if you destroy invisible objects or not. However if you have *loads* of invisible objects - 99 complete levels worth of objects is loads! - this could cause a severe slowdown. It might be what's causing Firefox to choke. I would highly recommend you break everything out in to layouts, that's what they're for. [/QUOTE]

For now I'm with 10 layers.


Now Gonna test some audio.
B
5
S
1
G
2
Posts: 44
Reputation: 1,470

Post » Sun Jan 08, 2012 6:13 pm

Audio does not really work so well on IOS, There is a way to get it working but its not so convenient.

You have to call the audio through javascript.
B
8
S
2
G
4
Posts: 55
Reputation: 2,555

Post » Sun Jan 08, 2012 6:54 pm

GingerBatMan speaks about this audio fix for iOS.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sun Jan 08, 2012 8:22 pm

With or Without audio. This is really bad performance.
I did a search and found a way to show FPS.
Every Tick -> GlobalFPS +1
Every 1Sec -> Show GlobalFPS and Set GlobalFPS to 0.

On PC, I got something around 60~70. Fine and Smooth.
iPhone , when there is just a plain background 40 FPS.
Moving the ball it drops to 10~15 FPS.
As the ball was creating an trail object always, I removed that to see if it was causing the drop. But it got only increment of 1~3 FPS. Getting final 15~18 FPS when moving ball.

I am running iOS 5 , but this performance is not good.
Resolution is 640x960.1 Tiled Background covering the screen + 5 Sprites + 1 Ball Sprite (Moving to the finger position every time). And I get this 15~18FPS. Maybe I'm doing something wrong.. If this is how it works, then Construct 2 isn't a good option for iPhone or Android development.
On the other hand it works very well over standard PC browsers.

Maybe I focus this for facebook apps, don't know.SplashHunt2012-01-08 20:23:16
B
5
S
1
G
2
Posts: 44
Reputation: 1,470

Post » Sun Jan 08, 2012 8:51 pm

Mobile phones' browsers/OS have poor performances on gaming HTML5 atm.
They don't support very well the HTML5, don't support at all webGL, etc...

And the best performances comes from iOS5 as ICS "is a major step forward for the Android Browser, but still falls short of iOS 5".

So if you're looking to only developp for iOS, yes, HTML5 is NOT YET (as hopefully performances will improve on mobiles) the better solution.

But you know, it is a bit the same on desktop. Mozilla appears to be willing to propose its browser with more gaming options.

So in conclusion, I'd say even if you don't use it for now, a time will come when mobile phones' browsers will nicely handle HTML5 and allow you to use Construct 2 for it.

By then, C2 will have evolved and the performances too, making it even more relevant than it is today. The good thing is that you'll have had it at the early-adopter discount price.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Previous

Return to How do I....?

Who is online

Users browsing this forum: Artpunk, indiegrimes, NRABrazil, PixelatedTrip and 24 guests