How do I animate the font size of CCLabelTTF?

I would like to perform an animation on a CCLabelTTF, where the font size is being animated. I do not want to use CCScaleTo because (of course) then the quality is bad. Has anybody got a clue how to do that ?

Answers


I´m afraid you can not animate font size on a CCLabelTTF, you can set the maximun font size you want for your label and then use setScale or CCScaleTo. But take notice that CCLabelTTF is slower than CCLabelBMFont, in my opinion is better to render the bitmap font with any program like bmGlyph, and then use CCLabelBMFont, take a look at cocos2d reference. But anyway you´ll have to scale the label.


Need Your Help

Lazyload external JS/CSS files based on controller namespace convention?

javascript jquery model-view-controller templating angularjs

Does angularJS have anything in place to lazyload external JS/CSS files based on ng-controller namespaces? So that the following would append com.myApp.SomeClass.js and com.myApp.SomeClass.css to ...

Storing the result of a test in a variable

c#

I am new to C# (and programming in general) so I am unsure how to ask this using proper terms (please bear with me):