CCTransitionPageTurn::transitionWithDuration question

CCTransitionPageTurn::transitionWithDuration question
0.0 0


when i use CCTransitionPageTurn::transitionWithDuration(1, scene, false) to replace sence, in simulator,it’s ok.but it will show a white flash in real devies(ios4.3.3) when replace scence.
i use a 960*640 png as can clike the “x” to replace scence and see the white how can i remove the white flash? (1187.4 KB) (1187.5 KB) (29692.2 KB)


hello, what is your cocos2d-x version?
this bug has been resolved.

please check whether your variables have been initialized.


i use cocos2d-1.0.0-x-0.9.0.

this is about the bug.

you could refer it first.


i don’t think they are same bug.because i use the latest version(cocos2d-1.0.0-x-0.9.0),and is fixed at cocos2d-0.99.5-x-0.8.3
you can run my test in real device and see it.


anybody help,please


hi, i ran the test you offered on ios right now, and it ran well with no white flash.
the ios version is 4.3


o, sorry , i ran it on the simulater


i don’t have the iphone device, i can’t help you now :frowning:


anyway thanks.wait wait wait wait:)


please see the video,click at right is differnet from click left.please help me.thanks


there is PageTransitionForward in transition test, this test does the same thing as you do in helloworld.
you could run the test on your device and see that if it has the same phenomenon.


I don’t know what’s your problem, may be you should invoke CCDirector::sharedDirector()->setDepthTest(false).