Hi All.
A few minutes ago, I downloaded the latest stable version, *cocos2d-2.0-x-2.0.2 @ Aug 30 2012 , trying to test retina display on iOS.
Yes. the test project worked good and I did the following steps for retina image.
- uncomment pDirector->enableRetinaDisplay(true);
- HelloWorld-hd.png added to project resource group.
- my simulator set to iPhone retina display.
The resolution seems to work good in 960 x 640 but the HelloWorld.png image is displayed , instead of HelloWorld-hd.png.
You guys said ITβS STABLE version.
please help me out. I attached screen capture file.
Thanks.
problem-in-retina display.png (429.1 KB)
- When you disable retina on iOS there will be no high resolution on device at all. You have to enable retina for high resolution on a iPhone 4 or iPad.
- There is no -hd extensions anymore in Cocos2d-x 2.0.2.
This approach works btw
http://www.cocos2d-x.org/boards/6/topics/15040
Searching the forum might help sometimes
Herman Jakobi wrote:
- When you disable retina on iOS there will be no high resolution on device at all. You have to enable retina for high resolution on a iPhone 4 or iPad.
- There is no -hd extensions anymore in Cocos2d-x 2.0.2.
>
This approach works btw
>
http://www.cocos2d-x.org/boards/6/topics/15040
>
Searching the forum might help sometimes
Thank you. Herman Jakobi.
I got hint from you.
Best Regards.