My game runs at 168 fps

Like the title says, playtested and decided to turn on the fps counter for once, it was like 168fps.
I think 168 is a bit more than necessary, thankful for any suggestions/solutions to cap it.


I tried the fix from here, but doesn't seem to have made a difference:
https://forums.rpgmakerweb.com/index.php?threads/tips-and-tricks-tutorial-ver.97011/
(you add "chromium-args": "--limit-fps=60" to package.json)

I'm also using Yanfly's monitor fps sync, if I turn it off the game goes hyperspeed, but the fps counter stays the same. Just mentioning it, in case it's related.
You can use this plugin to essentially decouple the framerate from the game speed(This also fixes a freeze that can happen), and this plugin to make the playtime get accurately counted. WIth these 2 you can just let the player play the game at whatever framerate they want without any issues.

Correction: Andar is correct, version 1.4 had the fps decoupled from the gamespeed. What Yanfly's "FPS sync" does is revert that, so the reason why your game runs at approx. double speed is because of it. Nonetheless there is still an issue that remains, causing the game to freeze on screen, which the plugin I linked fixes. The gametime is also not fixed, which the second plugin will do.
go to your project directory, then the js folder, then open rpg_core.js with a text editor.
what is the version number at the end of the title line?
(no number means 1.0)

The older MV cores had problems with the fps as they were linked wrong, but that was changed with updates to the core.
go to your project directory, then the js folder, then open rpg_core.js with a text editor.
what is the version number at the end of the title line?
(no number means 1.0)

The older MV cores had problems with the fps as they were linked wrong, but that was changed with updates to the core.
rpg_core.js says v1.6.2
Help/About in the editor says 1.6.3.
You can use this plugin to essentially decouple the framerate from the game speed(This also fixes a freeze that can happen), and this plugin to make the playtime get accurately counted. WIth these 2 you can just let the player play the game at whatever framerate they want without any issues.

Correction: Andar is correct, version 1.4 had the fps decoupled from the gamespeed. What Yanfly's "FPS sync" does is revert that, so the reason why your game runs at approx. double speed is because of it. Nonetheless there is still an issue that remains, causing the game to freeze on screen, which the plugin I linked fixes. The gametime is also not fixed, which the second plugin will do.
Thank you, but even after adding GraphicsRenderFix.js the game runs at 168-ish fps, or at least that's what the f2 counter shows.

Tried disabling Yanfly's fps synch, but didn't make a difference.
rpg_core.js says v1.6.2
Help/About in the editor says 1.6.3.

Thank you, but even after adding GraphicsRenderFix.js the game runs at 168-ish fps, or at least that's what the f2 counter shows.

Tried disabling Yanfly's fps synch, but didn't make a difference.
Uninstall the fps sync. And the whole point of these plugins is to avoid having to arbitrarily cap the framerate for no reason. The game will run perfectly fine on whatever hz your monitor has.

In fact, having a higher fps is good, since you won't be able to notice any occasional dips in fps that way.
if the tip above does not solve your problem, then please post screenshots of your plugin manager with alol plugins and their order after removing the fps plugins you know of.

because the only option I can think of if that doesn't help is that you still have some plugins who manipulate the fps without you knowing that.

Original thread: https://forums.rpgmakerweb.com/threads/my-game-runs-at-168-fps.171386/