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?
Asked
Active
Viewed 81 times
0

Jonny
- 15,955
- 18
- 111
- 232
-
Define your question in brief. – Renaissance Jun 18 '13 at 10:13
-
1it doesn't because that would be costly (like changingthe label's string) – CodeSmile Jun 18 '13 at 12:35
-
Ok. I just do a CCScaleTo and when done recreate the font with size scaled down. If the scale duration is short and quick enough no one will notice and I can get on with life. – Jonny Jun 19 '13 at 01:26
2 Answers
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