First, I’d like to thank you for the great library you’ve made. It’s really fun to develop with!
I’m having a problem with my first project on BlackBerry 10.
The project itself is very simple: there’s a full screen background image, a CCLayerColor whose color is progressively changed by a CCTintTo action and a sprite whose position is periodically updated by the update(float dt) method.
With every previous build of BB10 it used to run at nearly 60 FPS all the time; however I’m experiencing serious and unexplained slowdowns with the latest gold build 10.0.09.1675.
The code base is exactly the same as before - no line of code was changed - but the FPS has now dropped to an average of 35-40 FPS, with occasional peaks of 45 FPS.
At first I thought there was something wrong with my code, but some clues tell me that it’s not the case:
- The FPS is only marginally influenced by the actual code being run: even if I comment out everything and I only display a black screen and the FPS, it’s not going any faster than 40-45 FPS.
- All the example project included (“HelloLua”, “HelloCpp” and “TestCpp”) experience the same slowdown effect.
- I ported the “SimpleGame” example from the android release: this also used to run at 60 FPS on build 10.0.09.1103, but it’s now running at 30-35 FPS on 10.0.09.1675 with noticeable jittering in animations.
I’m running the latest stable release, cocos2d-2.0-x-2.0.4.
Do you know if there is any particular reason behind this odd behavior? Is anyone experiencing the same results?