mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1027 from dumganhar/gles20
Fixed a logic error in ActionScaleTest.
This commit is contained in:
commit
ec6573c461
|
@ -353,13 +353,12 @@ void ActionScale::onEnter()
|
|||
|
||||
centerSprites(3);
|
||||
|
||||
CCActionInterval* actionTo = CCScaleTo::create( 2.0f, 0.5f);
|
||||
CCActionInterval* actionBy = CCScaleBy::create(2.0f , 1.0f, 10.0f);
|
||||
CCActionInterval* actionTo = CCScaleTo::create(2.0f, 0.5f);
|
||||
CCActionInterval* actionBy = CCScaleBy::create(2.0f, 1.0f, 10.0f);
|
||||
CCActionInterval* actionBy2 = CCScaleBy::create(2.0f, 5.0f, 1.0f);
|
||||
CCActionInterval* actionByBack = actionBy->reverse();
|
||||
|
||||
m_grossini->runAction( actionTo);
|
||||
m_tamara->runAction( CCSequence::create(actionBy, actionByBack->reverse(), NULL));
|
||||
m_tamara->runAction( CCSequence::create(actionBy, actionBy->reverse(), NULL));
|
||||
m_kathia->runAction( CCSequence::create(actionBy2, actionBy2->reverse(), NULL));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue