Questions tagged [cclabelttf]

CCLabel is a Cocos2d class, subclass of CCTextureNode that knows how to render text labels

CCLabel is a Cocos2d class, subclass of CCTextureNode that knows how to render text labels

Complete information

Class Source

48 questions
0
votes
1 answer

How do I animate the text on Lable like slot machine?

i would like to perform an animation on label text.i need to show 10 on label. the label should display first start with 0 then 1 ,2 ,3....end with 10. example : showing display number animation is seems like in slot wheel. how should i achieve…
StalinPusparaj
  • 53
  • 2
  • 11
0
votes
1 answer

CCLabelTTF - Changing Default Color of the label

I've just upgraded my project from cocos2d 1.0.1 to 2.0 and after a lot of tweaking and all, I'm unable to change the default color of a CCLabelTTF like I did before (And this way I avoid one line of code for each label I create). Before, I was…
RaphBlanchet
  • 575
  • 6
  • 23
0
votes
2 answers

Get Text dimmensions on CCTextFieldTTF

Hi I want to know the width of the text inside the CCTextFieldTTF but I can't find a way to do it, I want this width so I can move a CCLabelTTF in that position so it can be like a cursor for the CCTextFieldTTF Thanks
magorich
  • 449
  • 5
  • 17
1 2 3
4