There are some glitches in texture in my game screen (please, follow the link: http://ge.tt/3KjAIxY?c ).
I had glitches similar to this (not as bad) on iPad and adding this to applicationDidFinishLaunching() fixed it for me:
pDirector->setProjection(kCCDirectorProjection2D);
Fedor Shubin wrote:
> There are some glitches in texture in my game screen (please, follow the link: http://ge.tt/3KjAIxY?c ).
>
I had glitches similar to this (not as bad) on iPad and adding this to applicationDidFinishLaunching() fixed it for me:
pDirector->setProjection(kCCDirectorProjection2D);
Tim, thank you very much! It really works. But actually, I do not know why?
It’s seems to be a bug in cocos2d-x, isn’t it?
I think kCCDirectorProjection2D should be default in next cocos2d-x versions. This solves many problems and I don’t get why cocos2d-x as a 2d engine uses 3d projection by default.