本文介绍了如何消除 CCTransitionPageTurn 中场景之间的黑屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I need to use CCTransitionPageTurn in my app between scenes.When i run this transition, my running scene looks nice - it turns like page.but at the background i see black screen(during page turn animation), that is replaced later by new scene.And i want to see new scene in the background(during animation), when i start this transition.Can anybody help me?
解决方案
Oh, i found out the answer.All works as it should, after i commented out this line
//director.projection = kCCDirectorProjection2D;
also i turned on depth buffer and changed depthformat.
这篇关于如何消除 CCTransitionPageTurn 中场景之间的黑屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!