I'm not sure if this is still ongoing or not, but I have the same issue with tanking FPS. I am using either of two plugins MOG Weather FX or Galv Layer Graphics to handle parallax scrolling of relatively big png files (clouds, distant mountains).
Technically, the longer I stay on the map with parallax graphics or the longer they are in use (MOG is handling them as weather effect 34 i think, GALV just handles them as layers), and then change to a map that has no parallax items, but lighting and tinting... FPS drops to 2-3. If I "shrink" the maps (from 250 x 15 to 30x15), then the drop in FPS is not seen (130-150 FPS). If I go back to 250x15, again 2-3 FPS. If I create few smaller maps (50-80x15) that use the same parallax graphics and I just move between them, I will still get 2-3 FPS or maybe a bit more, but if I just sit on one of those maps and then jump right into the one with lights and tints (community lighting plugin), the performance improves.
I suspect there might be some leak with how these are constructed, but I am no JS programmer to find where that is. It seems like with each tick something is compounding somewhere. No "image cache" clearing plugins managed to sort any of this out...
I have a relatively high performing PC with RTX3090, so by no stretch of imagination it is my hardware's fault. I also updated NWJS to v84.0... No go.
If I get rid of the parallax effects altogether, I have an astounding performance of typical 140-150 FPS with a sad choice of getting rid of that part of the game altogether... 🙁
Looking through forums doesn't really help, because people are stabbing in the dark. I hope my observation will help with that stabbing a little. Beacuse I still need help with that... I'm sad to let go of this parallax scrolling (is how I wanted my character to travel between locations and have an interactive "avoid the event or it will smash you" gameplay while at it...
Technically, the longer I stay on the map with parallax graphics or the longer they are in use (MOG is handling them as weather effect 34 i think, GALV just handles them as layers), and then change to a map that has no parallax items, but lighting and tinting... FPS drops to 2-3. If I "shrink" the maps (from 250 x 15 to 30x15), then the drop in FPS is not seen (130-150 FPS). If I go back to 250x15, again 2-3 FPS. If I create few smaller maps (50-80x15) that use the same parallax graphics and I just move between them, I will still get 2-3 FPS or maybe a bit more, but if I just sit on one of those maps and then jump right into the one with lights and tints (community lighting plugin), the performance improves.
I suspect there might be some leak with how these are constructed, but I am no JS programmer to find where that is. It seems like with each tick something is compounding somewhere. No "image cache" clearing plugins managed to sort any of this out...
I have a relatively high performing PC with RTX3090, so by no stretch of imagination it is my hardware's fault. I also updated NWJS to v84.0... No go.
If I get rid of the parallax effects altogether, I have an astounding performance of typical 140-150 FPS with a sad choice of getting rid of that part of the game altogether... 🙁
Looking through forums doesn't really help, because people are stabbing in the dark. I hope my observation will help with that stabbing a little. Beacuse I still need help with that... I'm sad to let go of this parallax scrolling (is how I wanted my character to travel between locations and have an interactive "avoid the event or it will smash you" gameplay while at it...