For my game, I'd like to replace an existing blending mode. At least for battle animations. I'd like to change the screen blend mode's behaviour to be like a difference blending mode, as it could make for some really spunky battle effects by turning part of the screen negative.
I looked a bit in the code, did some searches on google and on this forum but... I couldn't find a way to do it. Searching online gives no result, and I don't understand where the blending modes actually are...
This below is the most promising lead I found, at line 1830 in rpg_core.js
Thanks for your help !
I looked a bit in the code, did some searches on google and on this forum but... I couldn't find a way to do it. Searching online gives no result, and I don't understand where the blending modes actually are...
This below is the most promising lead I found, at line 1830 in rpg_core.js
/** * The alias of PIXI.blendModes.SCREEN. * * @static * @property BLEND_SCREEN * @type Number * @final */Graphics.BLEND_SCREEN = 3;Thanks for your help !