converted cocos2d version to recent