Posho
Member
Hello,
Hope you're all comfy and safe at home.
I'm working on a project that exports like a thousand images upon clicking a button in-game. The game freezes until all images are exported, which takes about 15 seconds. As of now, I keep track of the exportation's progress by writing to the output window, but there won't be an output window in the final release of the game.
All of this happens in a single step (that's why it freezes) through a single loop of a thousand iterations, so I am not able to draw the progress as you normally would with Draw functions. The only workaround I can think of is to export a single image per Step so I can use Draw functions but that would reasonably extend the completion time to at least 1000/30=33.33 seconds, which is over double the time.
What would be a proper way to do this?
Hope you're all comfy and safe at home.
I'm working on a project that exports like a thousand images upon clicking a button in-game. The game freezes until all images are exported, which takes about 15 seconds. As of now, I keep track of the exportation's progress by writing to the output window, but there won't be an output window in the final release of the game.
All of this happens in a single step (that's why it freezes) through a single loop of a thousand iterations, so I am not able to draw the progress as you normally would with Draw functions. The only workaround I can think of is to export a single image per Step so I can use Draw functions but that would reasonably extend the completion time to at least 1000/30=33.33 seconds, which is over double the time.
What would be a proper way to do this?