• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows Locked FPS bug?

L

leonfook29

Guest
Hey there!
I have a problem with my game that, somehow, it lock the FPS to 50 instead of the room_speed of 60, like below:


Here's some detail on the problem:
  • Note that the real_fps is way, way, way higher, so it kinda bugs me whether i've unintentionally add something in that caused this, or is a rare bug.
  • There's only like minimum 20 instances in the room, but sometime hundreds of instances, but the fps still consistently the same, 50.
  • A quicksearch of the keyword "room_speed" to see whether i've set it to 50, and nope, I didn't.
  • Sometime the locked FPS will drop to the 40s while the real_fps still maintained in the thousands. And sometime it will restore to 60 for a moment, before it drop down toward 50 again.
  • The fps differences between the show_debug_overlay and my own is because i have it update once at 30 frames

Any lead?
 

RangerX

Member
In the global settings (graphic tab I think) you can set the "sleep margin" for the engine.
Your problem sound like it might be related to that.
Try setting it to 10.
If it fails, set it to 15.
 
Top