user876197
user876197

Reputation: 11

iPhone frame rate drops when rotation CCLayer 90 degrees with cocos2d

I am finished my cocos2d project, which uses the accelerometer to rotate the current CCLayer for a particular game mechanic. I've always noticed a 10-15 fps drop of which I couldn't find and decided to take look now. I thought it would have something to do with iterating over objects but it doesn't.

The drop occurs when the CCLayer is not rotated at 90/270 degrees, so as it approaches 0 degrees I lose 10 - 15 frames...super annoying.

I don't use the CCLayer for anything unusual, does anyone have any idea?

TL; DR: fps drops when CCLayer is rotated 90 degrees...Why?

Upvotes: 1

Views: 251

Answers (0)

Related Questions