cocos2d x - ActionwithAction and ActionwithDuration method giving error -
i have old code .i trying port new version of cocos2dx giving me errors in following lines.
ccsequence * pulsesequence = ccsequence::actiononetwo(ccfadein::actionwithduration(1), ccfadeout::actionwithduration(1)); ccrepeatforever* repeataction = ccrepeatforever::actionwithaction(pulsesequence);
in actiononetwo, actionwithduration, , actionwithaction method.it telling me not part of ccsequence.
ccsequence * pulsesequence = ccsequence::createwithtwoactions(ccfadein::create(1), ccfadeout::create(1)); ccrepeatforever* repeataction = ccrepeatforever::create(pulsesequence);
this should work.
Comments
Post a Comment