[SOLVED] how to stop a player's progress until an image button is pressed?

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
User avatar
Ze_Thorny
Newbie
Posts: 1
Joined: Sun Apr 13, 2025 9:56 am
Projects: Forgotten Tales: Prelude
itch: zethorny
Discord: ze_Thorny
Contact:

[SOLVED] how to stop a player's progress until an image button is pressed?

#1 Post by Ze_Thorny »

So what I mean by that is the player goes through a bit of dialogue and then at the end of it they will have to go through a door to change scenes or interact with another character or item. how can I do that reliably and stop the text from advancing forward?
Last edited by Ze_Thorny on Mon Apr 14, 2025 7:44 am, edited 1 time in total.

User avatar
jeffster
Eileen-Class Veteran
Posts: 1208
Joined: Wed Feb 03, 2021 9:55 pm
Contact:

Re: how to stop a player's progress until an image button is pressed?

#2 Post by jeffster »

Ze_Thorny wrote: Sun Apr 13, 2025 12:48 pm So what I mean by that is the player goes through a bit of dialogue and then at the end of it they will have to go through a door to change scenes or interact with another character or item. how can I do that reliably and stop the text from advancing forward?

Code: Select all

screen door():
    imagebutton auto "images/door_%s.webp":
        align (0.5, 0.5)
        action Return()

label start:
    "Some dialog before"

    call screen door

    "After the door was clicked, more dialog"
If the problem is solved, please edit the original post and add [SOLVED] to the title. 8)
All my tutorials, code samples etc. are Public Domain: use them with no restrictions.

JosieCarr
Newbie
Posts: 1
Joined: Tue Apr 15, 2025 7:46 am
Contact:

Re: [SOLVED] how to stop a player's progress until an image button is pressed?

#3 Post by JosieCarr »

Use triggers to pause text and enable interaction after dialogue ends.

Post Reply