开发者

How to remove black screen between scenes in CCTransitionPageTurn?

开发者 https://www.devze.com 2023-04-01 07:33 出处:网络
I need to use CCTransitionPageTurn in my app between scenes. When i run this transition, my running scene looks nice - it turns like page.

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 backgr开发者_如何学编程ound 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消