There seems to be orientation problems with iOS5 and cocos2dx. When the device is launched (oriented to portrait) the layouts get all screwed up with somethings framed to portrait and some landscape.
It is also seen using the iPhone 5 simulator. Note this bug doesn’t show up with iOS SDK 5 and device/simulators running iOS4.
To reproduce, please run the cocos2dxBoxTest template built with iOS5 sdk and launched in the iPhone 5.0 simulator. First difference is that you’ll see it is launched in portrait mode (it is supposed to be landscape.) Then when the device is rotated to landscape, the view rotates, but the physics is wrong (the floor only covers half the screen, and the boxes just fall through on the right hand side.) Adding landscape as the only supported orientation to the Info.plist doesn’t’ solve the problem - it orients it correctly to launch landscape but the physics is still wrong..
Any help would be greatly appreciated! Thanks.