0

Is there something to tween the font size CCLabelTTF in a nice way? I guess using CCScaleTo does not really recreate the font every iteration now does it?

Jonny
  • 15,955
  • 18
  • 111
  • 232

2 Answers2

0
[label setFontSize:newFontSize];
Renaissance
  • 564
  • 5
  • 26
0

There is no ("nice") way of tweening CCLabelTTF, as per the answer of LearnCocos2D.

So what I did, I just scale the rasterized version and on scale done I recreate it with font size scaled same, and also scale the node itself to 1 again.

Jonny
  • 15,955
  • 18
  • 111
  • 232