add cocos2d dependency