Size VisibleRect = Director::getInstance()->getVisibleSize(); Camera *camera = CCCamera::createOrthographic(VisibleRect.width, VisibleRect.height, 0, 1); camera->setCameraFlag(CameraFlag::USER2); camera->setPosition(Vec2(x,y));。