How can I color a letter?

How can I color a letter?
0.0 0


I have a letter image (in link). How can i color it in cocos2d js? Thank you!

n_Letter.png (4.4 KB)

var sp = cc.Sprite.create("n_Letter.png");
sp.setColor(cc.c3b(255, 0, 0));


@James Chen: I want to draw (Trace letter) when player touch on screen. Touch and drag to color the letters :slight_smile:


So, setColor can’t fit your demand?


You can see this picture :slight_smile:


James Chen: How I can solve this issues?


It seems that cc.RenderTexure could do this work?


Thank James Chen. I will find out cc.RenderTexure :slight_smile: