M
Moar.Of.Me
Guest
Hi!
I'm working on a mobile game with giant room sizes and lots of objects. Application surface is disabled. I need to take a screenshot of the game screen. Right now taking a screenshot of a whole room takes a lot of time, resources and has issues:
- Creating a big surface and drawing all objects to it and then downsizing it to display size takes down FPS a lot
- Creating a scree-sized surface and then drawing all the objects scaled takes away the quality
Both of these ways take a lot of time for all the objects to draw themselves.
Saving screenshot using screen_save() and then reading the file to a sprite takes too much time.
Is there a way to save a screenshot to a sprite without using application surface?
And is there a way to look into screen_save() function to scrap a screen capturing part of it?
I'm working on a mobile game with giant room sizes and lots of objects. Application surface is disabled. I need to take a screenshot of the game screen. Right now taking a screenshot of a whole room takes a lot of time, resources and has issues:
- Creating a big surface and drawing all objects to it and then downsizing it to display size takes down FPS a lot
- Creating a scree-sized surface and then drawing all the objects scaled takes away the quality
Both of these ways take a lot of time for all the objects to draw themselves.
Saving screenshot using screen_save() and then reading the file to a sprite takes too much time.
Is there a way to save a screenshot to a sprite without using application surface?
And is there a way to look into screen_save() function to scrap a screen capturing part of it?