• 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!

Issue of fps drop

V

vportmann

Guest
Hello,
The value of fps sometimes drop under the 60 fps that I fixed, while fps_real is always bigger than 1000. fps_real did not drop.
I don't understand why it lag, I checked the profiling and nothing is strange. I also checked if I didn't change the gamespeed: that's not the case, it stays to 60fps.

Could someone help me please?

thank you
 

sp202

Member
That's because fps_real only accounts for CPU usage, so not what you want to use to measure performance in most cases. fps is the actual frame rate your game is running at and accounts for both CPU and GPU usage. room_speed/gamespeed is just a cap on the frame rate.
 
Top