Hi all, I've been searching for how to do this but couldn't find anything on Google.
I'd like to have everything pause while the player is on a screen. For example, when looking at the overworld map, the game will pause. Currently, the game just continues as normal, and shows dialogue/the next scene over the screen. I would like only what's on the screen menu to be interactable. Is this possible?
[SOLVED] How to pause game while showing a screen
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.
- oatnoodles
- Regular
- Posts: 47
- Joined: Tue Aug 03, 2021 6:26 pm
- Projects: Samuda Interval
- Organization: Tomuwa Entertainment
- Deviantart: oatnoodles
- Github: oatnoodles
- itch: oatnoodles
- Discord: oatnoodles#0099
- Contact:
[SOLVED] How to pause game while showing a screen
Last edited by oatnoodles on Wed Oct 19, 2022 4:32 pm, edited 1 time in total.
Ren'py amateur looking to learn as much as possible! Please be patient with me.
Re: How to pause game while showing a screen
You need to call screen.oatnoodles wrote: ↑Wed Oct 19, 2022 4:17 pmHi all, I've been searching for how to do this but couldn't find anything on Google.
I'd like to have everything pause while the player is on a screen. For example, when looking at the overworld map, the game will pause. Currently, the game just continues as normal, and shows dialogue/the next scene over the screen. I would like only what's on the screen menu to be interactable. Is this possible?
Code: Select all
screen test:
textbutton _("Return") action Return()
label start:
call screen test
"This line appears only after you click the Return textbutton"
- oatnoodles
- Regular
- Posts: 47
- Joined: Tue Aug 03, 2021 6:26 pm
- Projects: Samuda Interval
- Organization: Tomuwa Entertainment
- Deviantart: oatnoodles
- Github: oatnoodles
- itch: oatnoodles
- Discord: oatnoodles#0099
- Contact:
Re: How to pause game while showing a screen
Wow, I completely forgot about that function. Silly me. Thank you!
Ren'py amateur looking to learn as much as possible! Please be patient with me.
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot]