I have just updated my game to Cocos2dx 2.0.3. All the menu buttons are in the right positions but all the touch areas are off by hundred of pixels to the bottom/left. I changed back to 2.0.2 and everything is Ok.
Hi,
You can test this bug by create new project on Win32 (cocos2d-x 2.0.3) and uncomment
pDirector->enableRetinaDisplay(true);
the close button become unclickable.
Oh, retina mode is designed for ios only. I haven’t tested it on Windows and android.
Ming has added a better solution for multi resolution in the next version, enableRetina() will be deprecated.
Is there documentation yet about the new multi-resolution solution replacing enableRetina? Is it the “design resolution size” thing that I’ve seen around in the code?
Oh, retina mode is designed for ios only. I haven’t tested it on Windows and android.
Ming has added a better solution for multi resolution in the next version, enableRetina() will be deprecated.
Many of us are using Visual Studio for development (xCode is too ugly and stupid sometimes), so we need to build/run project on windows. I have consts_win32.h file, where I can just uncomment/comment one of 5 first lines to launch win application in appropriate mode.
This approach worked like a charm in previous cocos versions, but since 2.0.3 it’s not working.
Sprites and everything works fine, but touches are broken.