bool HelloWorld::ccTouchBegan(CCTouch* touch,CCEvent* event) { CCLOG("ccTouchBegan"); //后台输出 CCPoint pt = touch->getLocation(); return true; }