In 2.10beta3, I add these code in applicationDidFinishLaunching():
CCSize screenSize = CCEGLView::sharedOpenGLView()->getFrameSize();
CCEGLView::sharedOpenGLView()->setFrameSize(MIN (screenSize.width, screenSize.height), MAX (screenSize.width, screenSize.height));
These make me can use 1 set pics made for retina display , and the game display in a right way on both iphone3 and iphone4.
I tried these on 2.00, but they cannot work with enableRetinaDisplay, 2.10beta3 works well but there is another bug still haunt me…
Is there anyway on cocos2d-x 2.00 can let me USE 1 SET RETINA PICS and make the game works on BOTH IPHONE3 AND IPHONE4?
I know that i can use pics with~~hd stuff, but the boss love 1 set pics deadly! and he dont think use 1 set non-retina pics is a good idea.