Cocos2d-x CCLabelTTF Constructive Size and Blur

I had a project with CCLabelTTF looking sharp and good. When I started using the design size function to fix some problems that appeared with different device sizes and retina displays, all fonts started to look blurry.

I saw the answer in the following link, but it is complex, and I did not understand how to implement it. http://www.cocos2d-x.org/forums/6/topics/32206?r=42107

Of course, I can refuse to use the design size function, but I would prefer to use a workaround if there is one.

Thanks for the promotion.

+4
source share
1 answer

, , :

, x4 ( /, ), 0,25 ( 4), . .

myLabel = CCLabelTTF::create("Play", "Helvetica", 20*4, CCSizeMake(0, 0), kCCTextAlignmentCenter);
myLabel->setScale(0.25);

Before and after fonts on buttons in Arrow Mania

+6

All Articles