Created
January 26, 2016 16:29
-
-
Save lamlambda/4032710d36a6fc2aed64 to your computer and use it in GitHub Desktop.
cocos2dx3.8サンプルエラー
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto label3 = Label::createWithTTF(ttfConfig, | |
"美好的一天啊美好的一天啊美好的一天啊a", TextHAlignment::LEFT, size.width * 0.75); | |
if(label3) { | |
label3->setTextColor(Color4B(255, 255, 128, 255)); | |
label3->setPosition(Vec2(size.width * 0.1, size.height * 0.2)); | |
label3->setAnchorPoint(Vec2(0, 0.5)); | |
this->addChild(label3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment