Bug of IOS CCAction class of cocos2d-x 2.1.1

Hello, I am the developer of IOS and android Apps/Games.

I try to using the latest version of cocos2d-x. And got different result of CCMoveTo, CCFlip…etc.

The code below is the sample

CCMoveTo * action = CCMoveTo::create(80.0f, ccp(width*2,0));
sequence = CCSequence::create),NULL);
sequence
>retain();

And the problem is the screen will display something like crash blink… actually I not mention it like CCBlink. Just imagination for sometime the display card driver have problem on windows.

And I am not sure is the problem is occur on all devices.

I try the TestCpp from source download by cocos2d-x. Inside Bugs Test, Bug-1159 have the same problem.

IOS Device:

  1. iPod-Touch 5G(IOS 6) NOT OK
  2. iPad Mini(IOS 6) NOT OK
  3. iPad 1G(IOS 4.3) OK
  4. iPhone 4G(IOS 5.0.1) OK
  5. iPhone 4GS(IOS 6) NOT OK
  6. iPhone 5(IOS 6) NOT OK

Android Device:
4. Samsung S2 LTE OK
5. Samsung Note OK
6. Samsung Galaxy OK
7. Motorola ME860 OK
8. Samsung S3 OK

This problem is not appear in the cocos2d-x 2.1.0 version.

No one face this problem?

Please help, Minggo …James…

Hope some one help…

Very old issue. Try this http://www.cocos2d-x.org/news/24

Thanks you very much

I fix the problem acctually.

But why need to set the DepthTest to true in cocox2d-x 2.1.1.

Currently, I check the old version, it set false in there.

Is it concern about the performance or something?

Dafalt is true, but in iPad 2 and similar multicore gpu movement of big sprite results flickering.

If you disable dephtest or set 2D projection some effects may not correctly worked (Like CCPageTurn or CCOrbitCAmera) so test it more =)

So, as you say, the problem should fix for future, because when it turn true, it will causing some flickering, but turn off, some feature can not work properly.