setTint is not work when game config's type is Phaser.CANVAS

I recently encountered a problem.
When I run a phaser game and the game config type is Phaser.CANVAS,
the gameobject.image.setTint function is not work.
But it works ok on the game config type is Phaser.WEBGL.

Now, we must run the game on some old computers that only support CANVAS,
is there any solution???

Hi @wanghonghonghong, as far as i know tinting is only avaliable for WEBGL.

I don’t think there is one but use of different pngs…

1 Like

OK, thank you , I can only change the way.