add cocos2d ctor init