multi-resolution doesn't work.

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.

  1. uncomment pDirector->enableRetinaDisplay(true);
  2. HelloWorld-hd.png added to project resource group.
  3. 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)

  1. 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.
  2. There is no -hd extensions anymore in Cocos2d-x 2.0.2. :slight_smile:

This approach works btw

http://www.cocos2d-x.org/boards/6/topics/15040

Searching the forum might help sometimes

Herman Jakobi wrote:

  1. 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.
  2. There is no -hd extensions anymore in Cocos2d-x 2.0.2. :slight_smile:
    >
    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.