Quantcast
Channel: Cocos2d-x v3.10 released
Viewing all articles
Browse latest Browse all 64

Cocos2d-x v3.10 released

$
0
0

@cidhunter wrote:

Thanks..

On another note, I'm quite confused on how to load ttf for javascript?

I did this..
var fontDef = new cc.FontDefinition();
fontDef.fontName = "res/font/Arial_rounded.tff";
fontDef.fontSize = 48;

var loginLabel = new cc.LabelTTF('Test', fontDef);

But it is still using system font..

Read full topic


Viewing all articles
Browse latest Browse all 64

Trending Articles