Jacowaco Posted July 18, 2015 Share Posted July 18, 2015 Hi, i started using Phaser recently, i have managed to do many things but i can't make the tint property of the Sprite work.Even taking the basic hellophaser example from the tutorial and adding logo.tint = 0xff0000 won't work for me.Any idea what could i be doing wrong? Link to comment Share on other sites More sharing options...
drhayes Posted July 20, 2015 Share Posted July 20, 2015 Have you seen this example? http://phaser.io/examples/v2/display/tint-sprite Link to comment Share on other sites More sharing options...
Jacowaco Posted July 20, 2015 Author Share Posted July 20, 2015 If i copy the text of that example in my html i see the logo displaced in the half of the screen and the tinting doesn't work.Could it be because i'm using phaser.min.js? Link to comment Share on other sites More sharing options...
Jacowaco Posted July 20, 2015 Author Share Posted July 20, 2015 Ok, i solved it.The hellophaser's phaser.min.js file is outdated and doesn't have the tint property. Link to comment Share on other sites More sharing options...
Recommended Posts