Every time I've updated my nwjs files it ends up making my game lag more, despite multiple threads saying it's supposed to do the opposite. My game ran fine before so it'd be easy to simply rollback, but the problem is that I want to add Steam achievements to my game which apparently requires specific versions of nwjs (I'm using v0.49.1 per this guide).
The performance issues are mostly limited to a single map which suggests it could just be an optimization problem on my part, but I feel like I've optimized it as much as possible (and like I said, it wasn't lagging until I updated nwjs). The map in question, 46x34 with ~130 events, pictured below. Most of the events are just for swapping out tiles/characters when certain conditions are met (e.g. lighting windows). Even when I remove the parallel processes it still lags so it seems like it's just the sheer size/number of events I guess.
It'd be one thing it was just a light stutter but it can drop to as low as <10 fps for several seconds. Has anyone experienced something similar? Is it something that can be fixed or do I have no choice but to revert to a previous version? Any help would be greatly appreciated. Thanks!
The performance issues are mostly limited to a single map which suggests it could just be an optimization problem on my part, but I feel like I've optimized it as much as possible (and like I said, it wasn't lagging until I updated nwjs). The map in question, 46x34 with ~130 events, pictured below. Most of the events are just for swapping out tiles/characters when certain conditions are met (e.g. lighting windows). Even when I remove the parallel processes it still lags so it seems like it's just the sheer size/number of events I guess.
It'd be one thing it was just a light stutter but it can drop to as low as <10 fps for several seconds. Has anyone experienced something similar? Is it something that can be fixed or do I have no choice but to revert to a previous version? Any help would be greatly appreciated. Thanks!