Discussions
Label font and color
over 9 years ago by Thanh Bui
I put my font in "fonts" folder and this I my code
var menuItemPlay = new cc.MenuItemSprite(
new cc.LabelTTF("Start!","fonts/after_shok.ttf", 24), // normal state image
new cc.Sprite(res.start_s_png), // selected state image
this.onPlay, this);
the font has no effect on the label. Am I doing anything wrong ?
and how do we change the color of the label ?