Label::getLetter
from: Cocos2d-x Cookbook by Akihito Matsuura (Packt Publishing, 2015)
With Bitmap font label, each character sprite can be accessed via Label::getLetter method as follows:
auto label= Label::createWithBMFont("fonts/futura-48.fnt", "Bitmap Font"); label->setPosition(size/2); this->addChild(label); auto sprite1= label->getLetter(0); sprite1->setRotation(30.0f); auto sprite2= label->getLetter(1); sprite2->setScale(0.5f);