auto director = Director::getInstance(); //30为更改后的帧频 cocos工程默认为60 这里调低了帧频 director->setAnimationInterval(1.0 / 30);