How to get constant high FPS?

About Monkey 2 Forums Monkey 2 Programming Help How to get constant high FPS?

This topic contains 2 replies, has 3 voices, and was last updated by  Gwenel 1 year, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #13893


    I’ve tried to increase the fixed FPS to 1000 using a timer and SawpInterval=0 and my computer is stuck at 93 though the timer is actually going at 1000! Without the use of a timer it caps at +-4500. Is it possible to fix a higher constant fps somehow? Would this limitaion also happen with high hz vsync screens like 144hz screens?


    Abe _King_

    I’m not sure if there’s a built in way to do this, and timers might be constrained to some unseen minimum delay problem. Not sure if that’s the case.

    A possibility would be to handle this yourself. If you know that a framerate is possible at a certain level, you could fix it there. This would be something like having some sort of “rest” loop which will attempt to imitate that work is being done to throttle the framerate.

    psuedo logic:
    while( timeTilNextDesiredTick > CurrentTime ){
    ‘wait here (this is very crude)

    There are more details about sequencing framerate here:




Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.