Color Adjustment

Hello, i want to adjust the sprite color to bright/light in the same color.Please share you ideas.Thanks

You can use graphics.setBlendMode(Phaser.BlendModes.SCREEN);

Or write your own shader.

Hi @Ram_m,
To get the color you can use the class Phaser.Display.Color, which has the method brighten.
To apply the color to the sprite just use the setTint method of the Sprite class.
Example usin Phase.DisplayColor.brighten:

You are assuming the sprite has only 1 color?
And even then, tinting won’t work:

Yes.

You’re right, I didn’t realize until now. Thanks for the info.