Hi folks,
My game generally runs at a very smooth 59-61 FPS with no issues at all.
However, over time, as I load more maps and do more things, I start getting frame drops. These drops start out by just going to 58 frames, but over time it will go as low as into the 40s, which cause noticeable stutters that are very jarring when the player is moving quickly.
Sometimes, if I let the game sit idle, these drops will sort themselves out, but sometimes the game will be running fine, and letting it idle will gradually cause these drops to start happening even when nothing is changing in the game.
Restarting the game almost always fixes this until it "builds up" again, so whatever causes it isn't something being saved like events etc.
I used to have some plugins installer (such as VisuStella Events Move Core) which caused lag, but since removing them, things are generally stable.
Is there anything that could be causing these gradual frame drops? I have some large sprite sheets, and am using parallax mapping, but my game is 16x16, so even loading a "large" image for me is 1/3 of a typical game.
I have very few parallel events, just one that runs once per in-game day (20 irl mins), and one that runs once per hour (1 irl min), but does nothing unless some very specific conditions are met. Either way, these frame drops are happening much more regularly than these would be running, and seem to "build up".
This occurs on multiple devices, and I have updated pixi.js to v6 and nwjs to v70 (highest SteamDeck compatible).
Here are my plugins:
Thanks!
My game generally runs at a very smooth 59-61 FPS with no issues at all.
However, over time, as I load more maps and do more things, I start getting frame drops. These drops start out by just going to 58 frames, but over time it will go as low as into the 40s, which cause noticeable stutters that are very jarring when the player is moving quickly.
Sometimes, if I let the game sit idle, these drops will sort themselves out, but sometimes the game will be running fine, and letting it idle will gradually cause these drops to start happening even when nothing is changing in the game.
Restarting the game almost always fixes this until it "builds up" again, so whatever causes it isn't something being saved like events etc.
I used to have some plugins installer (such as VisuStella Events Move Core) which caused lag, but since removing them, things are generally stable.
Is there anything that could be causing these gradual frame drops? I have some large sprite sheets, and am using parallax mapping, but my game is 16x16, so even loading a "large" image for me is 1/3 of a typical game.
I have very few parallel events, just one that runs once per in-game day (20 irl mins), and one that runs once per hour (1 irl min), but does nothing unless some very specific conditions are met. Either way, these frame drops are happening much more regularly than these would be running, and seem to "build up".
This occurs on multiple devices, and I have updated pixi.js to v6 and nwjs to v70 (highest SteamDeck compatible).
Here are my plugins:
Thanks!