Ver. 1.3.5: Performance Fix!


This is a highly recommended bugfix update!

Fixes:

  • Fixed a (severe) performance regression introduced in version 1.3.3, where a missing assignment caused the rules and modifiers to be reindexed at least twice for each (updating) Character each frame, more often where visuals changed.

In short, I had forgotten to add this line here:

Diff that adds indexedTargetGroups = parameters.targetGroups;.

If you write JavaScript at all, you can likely see the issue: The indices were built correctly, but the plugin didn’t remember that it had done so. Since getIndices() is called somewhat frequently, that caused the exact opposite of the original optimisation, recalculating rule and modifier relevancy several times over each frame.

I would have caught this issue had I profiled the recent updates earlier, so: My apologies. If you had performance issues on maps with many entities, you should see a rather massive improvement from this.

Files

TS_Dynamic_Characters.js (MV+MZ) 286 kB
Version 1.3.5 15 days ago

Get Dynamic Characters MV + MZ

Buy Now$20.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.