How do I "freeze" a label?

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.
Post Reply
Message
Author
Heisenraptor
Newbie
Posts: 9
Joined: Sun Jul 03, 2016 9:34 am
Contact:

How do I "freeze" a label?

#1 Post by Heisenraptor »

So this may sound stupid for some of you but I have a label that shows a screen, this screen has a bunch of image buttons that take the player to different labels.
The problem is that the label with the screen has no menus or anything(just a pause line, but that goes away after one click) and I don't want the game to continue if the player clicks anywhere but the image buttons.
Thank you.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: How do I "freeze" a label?

#2 Post by PyTom »

It sounds like you want to use "call screen" rather than "show screen" to show the screen. The call screen statement will block until the screen exits (either by returning a value with Return, or by jumping away with Jump).
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Heisenraptor
Newbie
Posts: 9
Joined: Sun Jul 03, 2016 9:34 am
Contact:

Re: How do I "freeze" a label?

#3 Post by Heisenraptor »

PyTom wrote: Sat Jul 22, 2017 11:18 am It sounds like you want to use "call screen" rather than "show screen" to show the screen. The call screen statement will block until the screen exits (either by returning a value with Return, or by jumping away with Jump).
Oh I see, thank you very much for the help!

Post Reply

Who is online

Users browsing this forum: Google [Bot]