mirror of https://github.com/axmolengine/axmol.git
parent
cab9c0536f
commit
7f3960eec9
|
@ -328,9 +328,9 @@ void ActionRotate::onEnter()
|
||||||
|
|
||||||
centerSprites(3);
|
centerSprites(3);
|
||||||
|
|
||||||
CCIntervalAction* actionTo = CCRotateTo::actionWithDuration( 10, 45);
|
CCIntervalAction* actionTo = CCRotateTo::actionWithDuration( 2, 45);
|
||||||
CCIntervalAction* actionTo2 = CCRotateTo::actionWithDuration( 2, -45);
|
CCIntervalAction* actionTo2 = CCRotateTo::actionWithDuration( 2, -45);
|
||||||
CCIntervalAction* actionTo0 = CCRotateTo::actionWithDuration(15 , 0);
|
CCIntervalAction* actionTo0 = CCRotateTo::actionWithDuration(2 , 0);
|
||||||
m_grossini->runAction( CCSequence::actions(actionTo, actionTo0, NULL));
|
m_grossini->runAction( CCSequence::actions(actionTo, actionTo0, NULL));
|
||||||
|
|
||||||
// CCIntervalAction* actionBy = CCRotateBy::actionWithDuration(2 , 360);
|
// CCIntervalAction* actionBy = CCRotateBy::actionWithDuration(2 , 360);
|
||||||
|
@ -702,11 +702,6 @@ std::string ActionRotateToRepeat ::subtitle()
|
||||||
return "Repeat/RepeatForever + RotateTo";
|
return "Repeat/RepeatForever + RotateTo";
|
||||||
}
|
}
|
||||||
|
|
||||||
// std::string ActionRotateToRepeat::subtitle()
|
|
||||||
// {
|
|
||||||
// return "You should see smooth movements (no jerks). issue #390";
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
@ -736,12 +731,6 @@ std::string ActionRotateJerk::subtitle()
|
||||||
return "RepeatForever / Repeat + Rotate";
|
return "RepeatForever / Repeat + Rotate";
|
||||||
}
|
}
|
||||||
|
|
||||||
// std::string ActionRotateJerk::subtitle()
|
|
||||||
// {
|
|
||||||
// return "You should see smooth movements (no jerks). issue #390";
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// ActionReverse
|
// ActionReverse
|
||||||
|
|
|
@ -73,7 +73,6 @@ protected:
|
||||||
void alignSpritesLeft(unsigned int numberOfSprites);
|
void alignSpritesLeft(unsigned int numberOfSprites);
|
||||||
virtual std::string title();
|
virtual std::string title();
|
||||||
virtual std::string subtitle();
|
virtual std::string subtitle();
|
||||||
// void alignSpritesLeft(unsigned int numberOfSprites);
|
|
||||||
|
|
||||||
// void restartCallback(UxObject* pSender);
|
// void restartCallback(UxObject* pSender);
|
||||||
// void nextCallback(UxObject* pSender);
|
// void nextCallback(UxObject* pSender);
|
||||||
|
@ -231,7 +230,6 @@ class ActionRotateToRepeat : public ActionsDemo
|
||||||
public:
|
public:
|
||||||
virtual void onEnter();
|
virtual void onEnter();
|
||||||
virtual std::string subtitle();
|
virtual std::string subtitle();
|
||||||
/* virtual UxString subtitle();*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class ActionRotateJerk : public ActionsDemo
|
class ActionRotateJerk : public ActionsDemo
|
||||||
|
@ -239,7 +237,6 @@ class ActionRotateJerk : public ActionsDemo
|
||||||
public:
|
public:
|
||||||
virtual void onEnter();
|
virtual void onEnter();
|
||||||
virtual std::string subtitle();
|
virtual std::string subtitle();
|
||||||
/* virtual UxString subtitle();*/
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class ActionCallFunc : public ActionsDemo
|
class ActionCallFunc : public ActionsDemo
|
||||||
|
|
Loading…
Reference in New Issue