摘要:
1、绘制简单的字符串1 CCLabelTTF* pLabel = CCLabelTTF::create("Hello World", "Arial", 24);2 CC_BREAK_IF(! pLabel);3 4 // Get window size and place the label upper. 5 CCSize size = CCDirector::sharedDirector()->getWinSize();6 pLabel->setPosition(ccp(size.width / 2, size.height ... 阅读全文