11-06-2016, 05:58 AM
I'm starting to wonder if it's not any specific script that's causing my slight lag issue, but simply the number of stuff I have running.
Once I find something that when removed gets the fps back to consistently 60, I switch back to a backup. If I remove just that script, it does little-to-nothing for the fps.
This is... a lot harder to work out a way to fix...
Ultimately I guess I can live with battles being 58-59 fps, it's when there's noticeable hiccups after actions due to that buildup of lag that I want to stamp out. (And lets be honest, if there's an fps dip when "idle", I'm probably doing something wrong.)
EDIT: PROGRESS??
I removed an automated animated sprite function - what seemed to happen was the system would check for [battler sprite name]+"[anim]" constantly, for some reason. Since 99% of enemies are going to be static images, and I can specify animated ones manually, I might not need this function, so I removed it.
... in the 2014 version, this has made the fps 60 with a swing to 56 every three seconds.
In the 2016 version, it's made it sometimes 60 fps, which wasn't happening before.
Once I find something that when removed gets the fps back to consistently 60, I switch back to a backup. If I remove just that script, it does little-to-nothing for the fps.
This is... a lot harder to work out a way to fix...
Ultimately I guess I can live with battles being 58-59 fps, it's when there's noticeable hiccups after actions due to that buildup of lag that I want to stamp out. (And lets be honest, if there's an fps dip when "idle", I'm probably doing something wrong.)
EDIT: PROGRESS??
I removed an automated animated sprite function - what seemed to happen was the system would check for [battler sprite name]+"[anim]" constantly, for some reason. Since 99% of enemies are going to be static images, and I can specify animated ones manually, I might not need this function, so I removed it.
... in the 2014 version, this has made the fps 60 with a swing to 56 every three seconds.
In the 2016 version, it's made it sometimes 60 fps, which wasn't happening before.