void NNBoard::showServerMessage( string ch )
{
#if 0
static int index = 0;
if (index >10)
{
index = 0;
}
CCLabelTTF* _label = CCLabelTTF::create(ch.c_str(),"", 30);
_label->setPosition(WINSIZE/2+CCPoint(0,200-index*40));
_label->runAction(CCSequence::create(CCDelayTime::create(5), CCFadeOut::create(1),CCRemoveSelf::create(true),NULL));
this->AddGameChild(_label);
index++;
#endif
}
cocos2dx 消息提示显示
最新推荐文章于 2022-06-21 08:47:55 发布