Is there any way to take a screenshot of a layer or sprite and save it as an image? Say you build a custom character and want to save an image of it for a menu.
Screenshot of Layer or Sprite?
(3 posts) (2 voices)-
Posted 2 years ago #
-
Cocos2d 0.8.1 beta added a new feature called RenderTexture, which might be able to do what you want.
See the release notes:
http://www.cocos2d-iphone.org/wiki/doku.php/release_notes:0_8_1_betaPosted 2 years ago # -
Perfect thanks this will work perfectly.
Posted 2 years ago #
Reply
You must log in to post.