Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
## show recent screenshot?
k "Hahaha!"
m "Don't laugh! I drew that."
#etc
My issue is that when a screenshot is taken, dialogue shows up in the top left saying one is saved to the game folder which breaks immersion. And I also don't know how to "show" a screenshot that maybe called "screenshot01" or "screenshot99" depending on how many play-throughs you've done. How do I call the last screenshot? And how can I show it again later (in the gallery or in the credits)?
philat wrote: ↑Wed Oct 10, 2018 7:44 am
Do you need to be able to access all of 1-99 or just the last one taken?
Hi Philat. Both, really. I want to show what the player has drawn soon after they've drawn it in the script... and then, later in the credits/ gallery (but this is less important)
There will be a few drawings, though, which is where it may get complicated, unless there's a way to name a specific screenshot, and replace it (if the player plays the game again)
If you don't need it to be saved, you can just use FileTakeScreenshot and FileCurrentScreenshot. Makes things much simpler for the former, if you don't absolutely need the latter.