Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.6.2 ラベルの見た目を改善する #22

Open
niku opened this issue Mar 1, 2015 · 0 comments
Open

4.6.2 ラベルの見た目を改善する #22

niku opened this issue Mar 1, 2015 · 0 comments

Comments

@niku
Copy link
Owner

niku commented Mar 1, 2015

cocos2d-x の Color4B::BLACK に相当するのは
cocos2d-js の cc.color.BLACK のようだ.

他に使える色は cocos2d/core/platform/CCTypesPropertyDefine.js に書いてある以下のものだと思う.

  • WHITE
  • YELLOW
  • BLUE
  • GREEN
  • RED
  • MAGENTA
  • BLACK
  • ORANGE
  • GRAY

cocos2d-x の Size に相当するのは
cocos2d-js の Size のようだ.
例によって new cc.Size ではなく cc.size を使ってねと書いてあるので,cc.size を利用する.

cc.LabelTTF からは outLine を利用することができなさそうだったので,実装しない.

niku added a commit that referenced this issue Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant