cocos2dx使用版本︰v 2.0.4
cocosBuilder使用版本︰v 2.0 alpha 1
cocos2dx在多解析度裡提供3種螢幕尺寸顯示方式︰- pEGLView->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, kResolutionNoBorder);//從中間裁,犠牲餘邊
- pEGLView->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, kResolutionShowAll);//上下黑邊,背景全秀
- pEGLView->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, kResolutionExactFit);//使用變形方式填滿螢幕
沒有留言 :
張貼留言