Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17110

Impossible to create font. Please check file

$
0
0

@agriz wrote:

I tried to use LabelBMFont.

var label2 = new cc.LabelBMFont("Test", "res/fonts/bitmapFontTest2.fnt");
    // testing anchors
    label2.anchorX = 0.5;
    label2.anchorY = 0.5;
    label2.color = cc.color.RED ;
    this.addChild(label2, 0);

I am getting those errors.

cc.LabelBMFont.initWithString(): Impossible to create font. Please check file

I got that output from web console.
If i am targeting multi resolution,
Which is best option? Label, LabelBMFont, LabelAtlas

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17110

Trending Articles