//
auto label = Label::createWithTTF("Start Game", "fonts/Marker Felt.ttf", 24);
abel->setPosition( Point(visibleSize.width/2,visibleSize.height/2));
this->addChild(label);
Cocos2d 控件:创建一个label
最新推荐文章于 2023-04-20 14:52:57 发布
//
auto label = Label::createWithTTF("Start Game", "fonts/Marker Felt.ttf", 24);
abel->setPosition( Point(visibleSize.width/2,visibleSize.height/2));
this->addChild(label);