精灵

测试

/// 获取点在视图中的坐标(左上角为原点)
CCPoint touchLocation = pTouch->getLocationInView();
/// 把点的坐标转换成OpenGL坐标(左下角为原点)
touchLocation = CCDirector::sharedDirector()->convertToGL(touchLocation);
/// 把OpenGL的坐标转换成CCLayer的坐标
CCPoint location = convertToNodeSpace(touchLocation);
float x=location.x;

LZ想表达什么??