Developing new animation code for Cocos2D 3.x