Framerate Weirdity

For questions about using Classic.

Post » Sat Nov 14, 2009 6:25 am

I got an odd thing going on.

I run my project at the unlimited framerate just to keep an eye on the quality of my code, and it's been steadily in the 250 range. But, lately it's been jumping from 300 to 90 to 250 to 111, and so on.

I've undone my last changes, and no effect, I've even gotten rid of most of my code just to see how it'd run, and it's those same jumping but higher numbers.

I doesn't do this on other projects, the framerate only varies within 10 fps at most.

Heck, I've even reformatted my comp (for other reasons) tonight but no luck.

Any ideas?
Follow me on Twitter @evgLabs
B
33
S
14
G
4
Posts: 251
Reputation: 4,049

Post » Sat Nov 14, 2009 2:37 pm

It's hard to say unless you find something you can turn on/off which affects it. It could be a single action in your events which takes half a second to complete, and therefore briefly halves the framerate because of the way it averages out the framerate over one second. Or, it could be something Windows does in the background and briefly prioritises another process. The best thing to do is either re-make it from scratch - or delete things back to an empty .cap - and watch when the problem changes.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Nov 14, 2009 2:42 pm

I've tried that but not all the way back to an empty cap file.

But, you know, sleeping on it last night, I remembered it started when I added an object and put some shaders on it. The shaders slowed it down so I got rid of it. Could this object still be sort of stuck in a limbo?
Follow me on Twitter @evgLabs
B
33
S
14
G
4
Posts: 251
Reputation: 4,049


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests