I use a lot of custom scripts for my team's project. While there are many good improvements in this latest version, 1.6.0, other things have become worse.
The Scene_Battle of my team's project has both the Actors and Enemies all animated with a lot of sprite sheets and all. When more than 1 of them have their blendColor to [255, 255, 255, 108], the FPS drops. With more than 3 of them being highlighted, the FPS can drop to 1.
As I investigate further about the cause, it appears to happen mainly within rpg_core.js line 4197, where the color blending is handled. When it is disabled, the FPS returned to normal. While the FPS drop happens, I tried to reduce the game's window size to reduce the GPU load. But the FPS drop is still as bad as while in fullscreen, which makes me think that this is a CPU problem.
The thing is, the highlighting, which is why I use .setBlendColor, is important for the game's interface. This is not an easy function to remove to sustain FPS. Is there any way to make the color blending more efficient to the CPU within rpg_core.js line 4197, especially for animated Sprite objects that constantly activates the .refresh() function as it changes frames? Minimizing any instances of .refresh() to happen is not an option considering the battler sprites animate all the time.
The Scene_Battle of my team's project has both the Actors and Enemies all animated with a lot of sprite sheets and all. When more than 1 of them have their blendColor to [255, 255, 255, 108], the FPS drops. With more than 3 of them being highlighted, the FPS can drop to 1.
As I investigate further about the cause, it appears to happen mainly within rpg_core.js line 4197, where the color blending is handled. When it is disabled, the FPS returned to normal. While the FPS drop happens, I tried to reduce the game's window size to reduce the GPU load. But the FPS drop is still as bad as while in fullscreen, which makes me think that this is a CPU problem.
The thing is, the highlighting, which is why I use .setBlendColor, is important for the game's interface. This is not an easy function to remove to sustain FPS. Is there any way to make the color blending more efficient to the CPU within rpg_core.js line 4197, especially for animated Sprite objects that constantly activates the .refresh() function as it changes frames? Minimizing any instances of .refresh() to happen is not an option considering the battler sprites animate all the time.