Hi
I upgraded some code using old cocos2d-x API to the new one and realized that we have deprecated Label::create(text, font)
I think we should not deprecate that, reason been
create()
function that is consistant across all cocos2d-x Sprite::create(filename)
, ParticleSystemQuad::create(filename)
, Follow::create(node)
LabelTTF
and LabelBMFont
both have create()
function with same signature, it’s really easy and nature for me to upgrade them, just search and replace.-Nite
--
You received this message because you are subscribed to the Google Groups "cocos2d JS development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocos2d-js-dev...@googlegroups.com.
To post to this group, send email to cocos2d-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- should it create a bitmap font, ttf, or decide depending on the file extension ?
- if TTF, what should be its size ?