开发者

How to create an image as a smaller scale of the present scene?

开发者 https://www.devze.com 2023-03-22 20:11 出处:网络
I\'m working on this ios 开发者_如何学运维app project with cocos2d, and I need to create an image that looks the same as the present scene but smaller, so I wonder if there\'s any way I can form an im

I'm working on this ios 开发者_如何学运维app project with cocos2d, and I need to create an image that looks the same as the present scene but smaller, so I wonder if there's any way I can form an image directly from the scene with any functions?


You can check this link: Cocos2d ScreenShot. It's a small extension to make a screen shot as a 2D texture. After you just have to create a sprite with this texture and scale it down.

0

精彩评论

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