This doesn't seem to tint the image:
const particle = scene.make.image({ key: "blah", tint: 0xff0000 })
This seems to work properly:
const particle = scene.make.image({ key: "blah" })
.setTint(0xff0000)
... should the top one work?
Inside https://github.com/photonstorm/phaser/blob/v3.51.0/src/gameobjects/image/ImageCreator.js#L12 ...
After var image = new Image(this.scene, 0, 0, key, frame) ...
... maybe add image.setTint(GetAdvancedValue(config, 'tint', null)) ...?
This doesn't seem to tint the image:
This seems to work properly:
... should the top one work?
Inside https://github.com/photonstorm/phaser/blob/v3.51.0/src/gameobjects/image/ImageCreator.js#L12 ...
After
var image = new Image(this.scene, 0, 0, key, frame)...... maybe add
image.setTint(GetAdvancedValue(config, 'tint', null))...?