Пример #1
0
	static CCActionInterval* actionWithDuration(ccTime t)
	{
		CCFadeOutDownTiles* fadeout = CCFadeOutDownTiles::actionWithSize(ccg(16,12), t);
		CCActionInterval* back = fadeout->reverse();
		CCDelayTime* delay = CCDelayTime::actionWithDuration(0.5f);

		return (CCActionInterval*)(CCSequence::actions(fadeout, delay, back, NULL));
	}
Пример #2
0
	static CCFiniteTimeAction* create(float t)
	{
		CCFadeOutDownTiles* fadeout = CCFadeOutDownTiles::create(t, CCSizeMake(15,10));
		CCActionInterval* back = fadeout->reverse();
		CCDelayTime* delay = CCDelayTime::create(0.5f);

		return CCSequence::create(fadeout, delay, back, NULL);
	}
Пример #3
0
    static CCActionInterval* create(float t)
    {
        CCFadeOutDownTiles* fadeout = CCFadeOutDownTiles::create(ccg(16,12), t);
        CCActionInterval* back = fadeout->reverse();
        CCDelayTime* delay = CCDelayTime::create(0.5f);

        return (CCActionInterval*)(CCSequence::create(fadeout, delay, back, NULL));
    }