Hi folks,
Firstly well done to all the contributors to cocos2d-iphone. It's come along way and is a great framework!
The following issue/question relates to the 0.8 beta release on SDK 3.0 - both the phone and the simulator.
I was having some glitches in my game so I decided to investigate. I started by looking at some of the cocos2d tests - they were running super fast while even an empty scene for my game wasn't (it was fast 50~65 fps but well less than the 170~200 fps of the tests which has stuff in them). The only thing I noticed different was the device orientation.
When I set the device orientation to CCDeviceOrientationPortrait my fps drops when compared to CCDeviceOrientationLandscapeLeft/Right (even for a blank empty scene). I have looked through the director code and from what I can see there should be less calculations being run when in portrait mode but for some reason its slower. I investigated the LabelAtlas that is used for the fps display and even tried just logging to the console because I thought it might be in the code for that but it's still significantly slower.
Does anyone have any thoughts/ideas/code I can patch into the framework core possibly with a conditional compilation?
Thanks in advance,
James