Tint a sprite with PIXI.js 3.0
By Łukasz Jagodziński
02 Oct 2015 07:17
An example showing how to tint a sprite using Tizen 2.3.
var sprite = new PIXI.Sprite.fromImage('assets/image.png');
sprite.tint = 0xFF0000; // Make a sprite reddish
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
Enter a description.