/*MoveBy* pMove = MoveBy::create(10.0f, Point(500, 500));
pSprite->runAction(pMove);*/
/*JumpTo* pJump = JumpTo::create(5.0f, Point(300, 300), 40, 5);
pSprite->runAction(pJump);*/
/*ScaleTo* pScale = ScaleTo::create(5.5f, 0.4f);
pSprite->runAction(pScale);*/
/*RotateTo* pRotate = RotateTo::create(1.0f, 30);
pSprite->runAction(pRotate);*/
//FadeOut* pFadeOut = FadeOut::create(2.0f);
//pSprite->runAction(pFadeOut);
/*FadeTo* pFadeTo = FadeTo::create(2.0f, 128);
pSprite->runAction(pFadeTo);*/
TintTo* pTint = TintTo::create(2.0f, 255, 0, 0);
pSprite->runAction(pTint);
/*Blink* pBlink = Blink::create(3.0f, 10);
pSprite->runAction(pBlink);*/
/*FadeIn* pFadeIn = FadeIn::create(3.0f);
pSprite->runAction(pFadeIn);*/
//ScaleTo* pScale = ScaleTo::create(1.5f, 0.4f);
//RotateTo* pRotate = RotateTo::create(1.0f, 2000);
//Spawn* pSpawn = Spawn::create(pScale, pRotate, NULL);
////Sequence* pSeq = Sequence::create(pScale, pRotate, NULL);
'cocos2d-x' 카테고리의 다른 글
스프라이트(Sprite) 액션 일시정지 & 다시시작 (1) | 2014.03.30 |
---|---|
스케줄(Schedule) 정리 中.. (0) | 2014.03.30 |
Scene 전환 종류 정리中 (0) | 2014.03.03 |
cocos2d-x 왼쪽 하단 숫자 ...뭘까?.. (0) | 2014.02.21 |
cocos2d-x (0) | 2014.02.19 |