Slow framerate on Android

Get help using Construct 2

Post » Wed Feb 20, 2013 6:18 pm

Hi everybody,

I've started to work on a platformer game 2 weeks ago, design for mobiles and especially android. I've just bought the complete liscence today to test my game on a real phone. But that's the problem, I can have a framerate greater thant 40 FPS which is too low for a platform game.

Could I get higher framerate ?
If yes how ? I already read perfomance tips...


Thanks a lot

ps : Sorry for my english I'm french
B
4
Posts: 4
Reputation: 808

Post » Wed Feb 20, 2013 7:01 pm

Are u using Ludei's CocoonJs to package for android ? if so , you will see better performance.
B
16
S
4
Posts: 248
Reputation: 2,267

Post » Tue Mar 26, 2013 6:13 pm

Yes I use Cocoonjs. With a few optimization tips i can reach 50-60 fps but on HTC sensation I've got only 20-35, is there a way to optimize again ?
B
4
Posts: 4
Reputation: 808

Post » Tue Mar 26, 2013 7:45 pm

It's really hard to give you advice if we can't see you project file.

CocoonJS is still being developed and hopefully in the near future we'll have a webgl export, that will probably boost the fps even more.
B
63
S
23
G
17
Posts: 254
Reputation: 14,342

Post » Tue Mar 26, 2013 10:31 pm

Mobile devices can literally be 100 times slower than your desktop. The most common mistake is just giving the phone too much work to do in rendering.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Tue Mar 26, 2013 11:34 pm

yeah. Canvas2d is fillrate rendering and it's not that much fillrate either. Depending on the chip for mobile devices it can be anywhere from
0.5 to 4 times the screen size in fill rate to achieve even 30fps.

the best you can do is start low and move up and do this on your lower powered hardware device



B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Thu Mar 28, 2013 7:26 am

Thanks for your answer,
In fact I've read a lot on Kudei(s forum and I learnt that the propblem with htc sensation have a chip that has not a very good buffering and that's for that reason that I have 60 fps on glaxy S2 et 25 fps on htc sensation...
B
4
Posts: 4
Reputation: 808


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests