Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 495283

Cocos creator截屏黑屏求帮助

$
0
0

在cocos creator开发的项目中添加截屏功能。代码如下:
var renderTexture = cc.RenderTexture.create(1280,720);
renderTexture.begin();
this.node._sgNode.visit();
renderTexture.end();

windows上测试通过,andorid下黑屏,请帮忙看看什么原因,怎么解决。


Viewing all articles
Browse latest Browse all 495283

Trending Articles