Hi guys, I am looking for a way to change a bitmap or sprite color, anything of these is welcome:
Thank you in advance 🙂
- color
- saturation
- contrast
- tint
- bright
- tone
- hue
- alpha
- blend
Code:
this._toneFilter = new ToneFilter();
this._toneFilter.adjustTone(200, 200, 200);
this._toneFilter.adjustSaturation(200);
_mySprite.filters = [this._toneFilter];
_mySprite.filterArea = new PIXI.Rectangle(0, 0, bitmap.width, bitmap.height);
Thank you in advance 🙂