Low speed FPS

Get help using Construct 2

Post » Tue Nov 12, 2013 5:08 pm

My game (a simple card game) has to work in mobile web browsers, and it is currently running at 7fps (in Chrome for Android, for example). The card has to play an animation when I click on it, and this animation is playing very slow for this reason, even if I set its speed to 60fps in Construct. Does anyone know what is going on or how to solve this problem?
Thank You.
B
3
Posts: 8
Reputation: 241

Post » Tue Nov 12, 2013 6:07 pm

Maybe using the debug you can observe what resource is spending more memory and cpu utilization of your computer, also, if your game have any looping while trying to set the animation.
Image
B
104
S
23
G
17
Posts: 1,350
Reputation: 22,028

Post » Wed Nov 13, 2013 10:55 am

Telles, thank you for your help!
I have no problems with loops and the memory/cpu utilization is Normal (low). Any idea what else could it be? Some problem with the canvas or WebGL?

Thank you again.
B
3
Posts: 8
Reputation: 241

Post » Thu Nov 14, 2013 12:42 pm

You're using any physic object?
Image
B
104
S
23
G
17
Posts: 1,350
Reputation: 22,028

Post » Mon Nov 18, 2013 11:38 am

No physic object... To flip a card, the action is only a touch event (on touched) which makes a 12-frame animation happen

Thank you.


B
3
Posts: 8
Reputation: 241

Post » Mon Nov 18, 2013 1:48 pm

i had posted something like this not so long ago.i had 125 png's of animation and no mater how fast i set the playback speed it never went over in my guess 20 per sec.so one animation lasted 6 sec!! i never figured what was wrong and why construct since it runs in 60 ticks it didn't run my animation in 2 sec approximately . so i re-created my animation to 30 png's and it worked as intended .but you say you have only 12 png's, so this does not make sense .my gut tells me it is a very minor bug ,but who knows?!
B
15
S
6
G
4
Posts: 277
Reputation: 3,948

Post » Mon Nov 18, 2013 2:20 pm

Thanks man, I will keep trying.
B
3
Posts: 8
Reputation: 241

Post » Mon Nov 18, 2013 8:20 pm

This isn't really related to the arcade. Moved to How do I...
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests