Tint a sprite with PIXI.js 3.0

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

Responses

0 Replies