A Cocos2D animation script engine