rabbit6w Posted August 13, 2014 Share Posted August 13, 2014 When I apply this.player.tint = 0xcd0937;to tint my sprite red, the sprite behaves as expected on desktop. The sprite changes color and when the sprite moves left or right all of the sprite state changes are recognized and the tint is active. On mobile, the sprite changes to the desired tint color but stays stuck in the sprite state that was active when the tint was applied.Anyone know how to achieve the expected behavior on mobile? Link to comment Share on other sites More sharing options...
rich Posted August 13, 2014 Share Posted August 13, 2014 Yeah this is a bug in Pixi, sorry. We're going to help get this fixed directly in Pixi, but it won't be for a couple of weeks I'm afraid. The reason you don't see it happen on desktop is because it's running in WebGL, the bug only occurs in Canvas. If you swap your desktop version to render to Canvas only, you'll see it happen there too. Link to comment Share on other sites More sharing options...
rabbit6w Posted August 13, 2014 Author Share Posted August 13, 2014 Thank you for gracing me with your presence and thanks again for clearing this up. Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts