works alright for some colors but not for others, like:cc.c3b(50,50,50)
it results on a transparent sprite.
I have tested it on HelloHTML5World, the screenshot like this:It works correctly.
I’m afraid it doesn’t work for me. Please take a look to my test:
On webGL everything works fine. On canvas tinting the hair with cc.c3b(50,50,50) produces a transparent sprite. Besides that, tinting the png with light colors results in dark pixels on the borders.
This bug has been fixed at https://github.com/cocos2d/cocos2d-html5/pull/1288
Thanks very much.David