Using different colors in one line of text?

Hi guys, I’ve found CCLabelTTF::setFontFillColor to apply text color. But I need different colors in one line of text, like: Hello [red]World[red]!. Is there any solution to achieve that?

I use multi CCMenuItem to do this.

miao dadao wrote:

I use multi CCMenuItem to do this.

How can you solve the new line?

Hi!
You could try some part of this code:
http://cocos2d-x.org/boards/18/topics/30921

We will try to add these new features when new Label is finished.
New Label uses libfreetype.

Minggo Zhang wrote:

We will try to add these new features when new Label is finished.
New Label uses libfreetype.

Freetype is a great font engine, I’m really looking forward to this new feature :slight_smile:

hello,
is there any update about this feature?