精灵不停的旋转时(如时钟的转动)速度稍快时会出现断层现象?
auto size = Director::getInstance()->getWinSize();
auto sprPointer = Sprite::create("pointer.png");
sprPointer->setPosition(size.width/2, size.height/2);
addChild(sprPointer);
auto action1 = RotateBy::create(2 , 360);
sprPointer->runAction( RepeatForever::create(action1));
```
在win32全屏模式下:
AppDelegate.cpp
if(!glview) {
glview = GLView::createWithFullScreen("My Game");
//glview = GLView::create("My Game");
director->setOpenGLView(glview);
}
glview->setDesignResolutionSize(1280, 720, ResolutionPolicy::EXACT_FIT);
```