void CMainGame::scrollOffset(cocos2d::Vec2 v)
{
Size s = scroll->getContentSize();
Vec2 off;
off.x = 100 * v.x / s.width;
off.y = 100 * v.y / s.height;
scroll->scrollToPercentBothDirection(off, PLAYER_MOVE_SPEED, true);
}
想让scrollview移动一个点但是怎么求都不对
