I want get a screenshot for a sprite in starling, I find this method:http://forum.starling-framework.org/topic/taking-a-screenshot-and-save-it-to-the-camera-roll . But when I want to take a screenshot for a sprite that larger than screen(I mean the target sprite is partly out of the screen), I only got in screen part of it. Need help~Thanks a lot!
Share
You can see in the code where it is using the screen size to dictate the size of the bitmap:
Change those lines to have the width and height you want.