Is there any way in cocos2d-x (i’m using 2.1.4 version) to set the font bold? I have texts as CCLabelTTF objects and I need to set them bold for some time, as highlighting.
You can give texts a bold effect by creating stroke of same color as label.
this->addChild( createStroke(lbl, 0.4, lbl->getColor(), 255) );
For more details about stroke, refer this linkhttp://www.cocos2d-x.org/forums/6/topics/22335?r=33572\#message-33572