//显示横屏
- (BOOL) shouldAutorotate { return YES;}还有一个屏目适配:
AppDelegate 中:
CCDirector* pDirector = CCDirector::sharedDirector();
CCEGLView* pEGLView = CCEGLView::sharedOpenGLView();
pDirector->setOpenGLView(pEGLView);
pEGLView->setDesignResolutionSize(320 ,480, kResolutionNoBorder);//这个是跟据图片的大小来设置