How to remove black screen between scenes in CCTransitionPageTurn?

梦想与她 提交于 2019-12-24 04:18:16

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/7282487/how-to-remove-black-screen-between-scenes-in-cctransitionpageturn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!