How do you hide the textbox or say screen and show it again in a screen?

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
MilywayObree
Newbie
Posts: 17
Joined: Sun Jan 28, 2018 11:24 am
Completed: None so far, pending to be exact
Projects: DDLC, The notebook and other secret projects
Organization: Vocastin/Oriaa Pro-Creations
Deviantart: MexicoRPelino
Github: HizashiroTakahashi
Skype: PixelMINEGaming
Location: Philippines
Contact:

How do you hide the textbox or say screen and show it again in a screen?

#1 Post by MilywayObree »

I have been using Ren'Py for months and I have been searching to find a way to hide the say screen and show it again in a screen...
Please, can someone help me? :oops: :?: :cry:
Just Monika.

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: How do you hide the textbox or say screen and show it again in a screen?

#2 Post by Remix »

Code: Select all

    renpy.hide_screen( 'say' )
    ....
    # renpy.show_screen( 'say' ) would likely error or just show a blank/empty window
    # You could add renpy.store._last_say_who, renpy.store._last_say_what as parameters
    # I find the following works nicest though
    ....
    renpy.say( renpy.store._last_say_who, 
                     renpy.store._last_say_what, 
                     interact=True ) # or False if on menu etc
Frameworks & Scriptlets:

Post Reply

Who is online

Users browsing this forum: No registered users