Iqbal Khan
Iqbal Khan

Reputation: 4617

How i can change CCLabelBMFont text color

How i can change CCLabelBMFont text color.

highScoreLabel = [CCLabelBMFont  labelWithString:highScore fntFile:@"markerFelt.fnt"];

enter image description here

Upvotes: 1

Views: 1452

Answers (1)

James Webster
James Webster

Reputation: 32066

With the color property, for example:

highScoreLabel.color = ccc3(240, 40, 40); 

This would only work well if the original color was white.

Upvotes: 5

Related Questions