Open acbart opened 10 years ago
Any idea on how to go about doing this?
For images, we can probably add a method on them to let you save them to a file.
For saving out the scene, we can probably provide a hook in the form of an event that stuffs the scene into a dummy Image for you to call ->save() on? I'm not sure there's any other good place for us to provide acccess to the rendered scene.
For saving the scene, is it not as simple as passing pygame.display.get_surface() into pygame.image.save() ?
I (someday) plan to rewrite Broadway to work with the new Spyral API. That will require a way to export Images and the Scene to a file, using pygame.image.save[1]. Obviously, this is extremely low priority.
[1] http://www.pygame.org/docs/ref/image.html#pygame.image.save