请问Quick-Cocos2d-x中有没有游戏画面截屏的api?(主要是分享的时候需要)
display.printscreen()
这么高级。。。我就知道用ccrender画完存图。
我记着cocos2dx有个画图保存的函数 ccrender好像是
这个厉害了。


display.printscreen() 是使用CCRenderTexture来截图的。
这个方法就是楼上贡献的
貌似 截图 有个bug.还没 合并到 master吧
display.printscreen()用起来很方便,点赞。
请问,display.printscreen() 是可以直接调用吗?我使用就报错了…
看大婶们封装的API,哈哈,学习不少~
请问,你们是怎么调用代码的啊?我使用display:printscreen(),据直接报错了…
在display.lua 中没有找到printscreen函数啊 是3.0-alpha才支持的吗?
同问,怎么调用这个函数啊