Well, I did a little bit more testing and it
does seem to be dependent on screen activity to a certain extent. If I take out everything but the player and some platforms, for example, it runs smoothly no matter what. If I put in loads of basic enemies, then the 'uncovered' framerate can go down to 15 fps or so, but the 'covered' framerate stays firmly at 30 fps. Whomp-type enemies (that are constantly checking for the player to move underneath them) affect the framerate more. But it's still kind of weird because I would have thought that if one whomp reduces the framerate by 8 fps, then two whomps would reduce it by 16. But instead, I can put in about ten of them and only have the framerate drop by 9 or so. Is this normal?
It might be because your game processing priority is set to high.
Go to Global game settings > Other
Then check game processing priority. Set it to normal if it's not.
Nah, it was already on normal. Thanks anyway.
Are you using...
surfaces,
polygon/circle drawing functions, or
any sort of particle system?
Not sure what a surface is but I don't think I'm using it. No polygons or particles.
PM me an EXE and I'll tell you if it runs likewise on my computer. It's hard to say what it could be without knowing what you've got happening, but I find it very strange that it stops doing it when a window is overlapping.
Thanks, I'll do that. If you want to see the difference between covered and uncovered, you can cover the window with task manager, since that's another window that doesn't fall behind automatically.