I've been playing through Steins; Gate 0 recently and I really liked how they handled to pause/menu screen (pictured below). When you pause the game or open up the menu, it zooms out to with a screencap of where you were and then zooms back in when you return to the game.
It got me thinking of designing something similar for my game. I think it's technically possible, since by default, when you save in ren'py it saves a screenshot and allows you to overwrite it when you make a new save. However, I'm unsure of how to get that to work in practice. Does anyone have any ideas or tips for implementing something like this?
Pause menu including a screenshot of where you are?
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.
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.
- Sleepy
- Regular
- Posts: 136
- Joined: Wed Nov 27, 2013 6:12 pm
- Projects: Camera Anima
- Organization: EXP-resso Mutt
- Tumblr: sleepy-does-games.tumblr.com
- itch: https://expressomutt
- Contact:
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Pause menu including a screenshot of where you are?
YOu can try this function: https://www.renpy.org/doc/html/other.ht ... screenshot
< < insert Rick Cook quote here > >
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Pause menu including a screenshot of where you are?
That's unfortunately not very helpful, what do you do with the screenshot? How could you place it in the screen and delete it after?Ocelot wrote:YOu can try this function: https://www.renpy.org/doc/html/other.ht ... screenshot
Last edited by Imperf3kt on Tue Mar 12, 2019 9:14 am, edited 1 time in total.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 15
- Joined: Sun Mar 19, 2017 10:50 pm
- Contact:
Re: Pause menu including a screenshot of where you are?
How's your experience with screens? Are you asking for just how to get the screenshot there, or do you need help creating the screen itself?
- Sleepy
- Regular
- Posts: 136
- Joined: Wed Nov 27, 2013 6:12 pm
- Projects: Camera Anima
- Organization: EXP-resso Mutt
- Tumblr: sleepy-does-games.tumblr.com
- itch: https://expressomutt
- Contact:
Re: Pause menu including a screenshot of where you are?
I'm somewhat familiar with screens, but I've never tried creating a whole game menu. Based on the coding, it's not hard to transfer over some things to a new game menu (such as, "tag menu", "use game_menu", "use navigation") but the hardest part I'm having problems with is how to get the screenshot there and then delete it when you unpause (as Imperf3kt put it).
The save system uses "FileAction" and has "FileScreenshot" to save a screenshot, but I'm stuck on how you'd implement something like that.
EDIT: Currently have a basic "pause" screen set up (since creating a game menu was surprisingly easier than I thought it would be). Atm, it's mostly the getting the screenshot of where the player is now.
The save system uses "FileAction" and has "FileScreenshot" to save a screenshot, but I'm stuck on how you'd implement something like that.
EDIT: Currently have a basic "pause" screen set up (since creating a game menu was surprisingly easier than I thought it would be). Atm, it's mostly the getting the screenshot of where the player is now.
Who is online
Users browsing this forum: No registered users