I started trying out the heaps game engine. Now I am looking for a way to capture the screen into a BitmapData Object. I am not familiar with the engine, so it would be nice if somebody could give me a hint where to start.
I was digging in the source code and there seems to be a function that saves BitmapData to a PNG. But first of course I need to capture the screen to a BitmapData.
Maybe rendering the scene on a texture and then creating a BitmapData from that texture, then saving as png?