I am creating a CCTexture2d using initWithString. But how do I set the color for this text?
CCTexture2D* texture = [[CCTexture2D alloc] initWithString:labeltext fontName:@”Carlisle” fontSize:18];
(Cocos2d 99.5, XCode 3.2.5 BaseSDK 4.2 Objective-C, Deployent OS 3.1.3)
A colleague found out a solution that works for me:
It sets the color for the sprite, not the texture, so it is not exactly what I was looking for, but it works.