Cocos2d-x之Sequence动作序列执行
Cocos2d-x之Sequence动作序列执行
//实现动作的序列执行,先执行移动,然后在执行旋转
label->runAction(Sequence::create(MoveBy::create(1, Point(100,100)), RotateBy::create(1, 360),NULL));
Cocos2d-x之Sequence动作序列执行
//实现动作的序列执行,先执行移动,然后在执行旋转
label->runAction(Sequence::create(MoveBy::create(1, Point(100,100)), RotateBy::create(1, 360),NULL));