CCLabelAtlas *pLabel = new
CCLabelAtlas;
pLabel ->initWithString("0123",
m_strPath.c_str(), 14/ CC_CONTENT_SCALE_FACTOR(), 17/
CC_CONTENT_SCALE_FACTOR(),
‘%‘);
pLabelTributeEffect->setAnchorPoint(ccp(0,
0.5));
pLabelTributeEffect->setPosition(ccp(pTributeSpriteSpecific->getContentSize().width
+ 3/CC_CONTENT_SCALE_FACTOR(),pTributeSpriteSpecific->getContentSize().height
-
18/CC_CONTENT_SCALE_FACTOR()));
pTributeSpriteSpecific->addChild(pLabelTributeEffect);
原文:http://www.cnblogs.com/cci8go/p/3612323.html