Suggestion Integrate the PixiJS Filters library into RPG Maker MZ core scripts

Description of the Feature:
Currently only the PixiJS library is integrated in RPG Maker MZ. It offers graphic filters (blur, alpha, colors), but in very limited quantity. There is an additional library, PixiJS Filters, which offers more advanced filters.

Some plugins use these enhanced filters by integrating this library, but each uses its own implementation and version of it. This creates a potential conflict, if for example plugin A which offers filter X but not Y is used at the same time as plugin B which offers the missing filter Y.

My suggestion is to integrate this library into RPG Maker by default, loaded with the other libs core scripts. Then there would be several possible scenarios.
  • Integration only: only the library is added to the core scripts, it is then up to the plugin developers to use it as needed and as they wish. However, this removes the risk of conflict and provides a common library.
  • Integration and classes: the library is added, and classes are implemented in rmmz_core.js (like ColorFilter) to allow plugin developers to use standard and common functions.
  • Integration, classes and event commands: same as the previous proposal, but with some filters implemented as event commands (e.g. new screen effects).

Mockups:
To get an idea of the possibilities of this library, the easiest way is to have a look at the FilterControllerMZ plugin.

Why is this feature good?
Whatever the scenario, and while some would argue that this remains in plugin territory, the default integration of the PixiJS Filters library would offer several advantages:
  • A common and extended development base controllable by the RPG Maker MZ developers that would ensure compatibility between the PIXI libraries.
  • The opening of a new branch of the plugins ecosystem more oriented on graphic effects (like plugins playing with light effects).
  • A new (r)evolution in RPG Maker MZ to display and manage sprites, just like Effekseer revolutionized animations.
Finally, even if most of the effects can be realized with sprites, events or images, why deprive yourself of the advanced features of the PIXI engine?

Possible issues with this feature?
A few on the fly (not exhaustive of course, and naturally open to debate).
  • Adding an additional dependency for the support and maintenance of RPG Maker MZ.
  • Encroachment on the territory of plugins (even if it seems to remain a niche and complex subject for the moment), for seasoned developers.
  • Not enough space to add new event commands in the editor. :ewink:

Original thread: https://forums.rpgmakerweb.com/threads/integrate-the-pixijs-filters-library-into-rpg-maker-mz-core-scripts.142996/