Enemy color change? Not hue.

Is there a way to change the enemy's color due to a state? Kind of like Photoshop's "Colorize".


I'll give a couple examples:


Frozen: Character/Enemy turns all blue.


Petrify: Character/Enemy turns all grey.


Anybody know?
I don't know if it may help you, but MOG's Collapse Effects have a "petrify" effect that looks just like what you want.


In the 556th line, for testing purposes (I know nothing about javascript/programming general), I've changed from:


var filter = new PIXI.GrayFilter();


to:


var filter = new PIXI.SepiaFilter();


And when I set the right notes in the enemy's notes area, it becomes sepia instead of gray. A list of PIXI filters is here:
https://pixijs.github.io/docs/PIXI.filters.html


As I've mentioned, I'm terrible at programming, but maybe this may help you a little bit.
That helps with my Petrify state, though not so much with the frozen state since the character is not dead when frozen.


I do, however, love some of those collapse effects for some of my skills and weapons (Zantetsuken, anyone?).

Original thread: https://forums.rpgmakerweb.com/threads/enemy-color-change-not-hue.60897/