Director::getInstance()->setProjection(Director::Projection::_2D);
祛除tmx地圖在滾動時可能出現的黑邊,能夠經過以上代碼添加到初始化方法中blog