Ferenc Dajka
Ferenc Dajka

Reputation: 1051

cocos2d-x how to use CCFadeOUT

I just want to know how to use this simple class, I've checked the reference and googled for examples with no luck. Please help me it gets me crazy.

here's the code i try to use:

CCFadeOut *fade = CCFadeOut::create(10);
fade->startWithTarget(someLabelWithText);

thanks

Upvotes: 1

Views: 1574

Answers (1)

PeakCoder
PeakCoder

Reputation: 852

CCFadeOut *fade = CCFadeOut::create(10.f);
someLabelWithText->runAction(fade);//

Upvotes: 1

Related Questions