How to show text while calling 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.
How to show text while calling a screen?
I was wondering if there is any way to show text at the same time as calling a screen. I believe the problem is that renpy auto hides the last line of text when going onto the next line of code and this means that it hides the text then calls the screen.
I know that nvl doesn't have this issue since you have to hide nvl text with the 'nvl clear' command, but I can't really use that in my project.
The only other alternative is to have text built into the screen at the same position as the text-box, and if I have to do this, is there are advice for the best possible method?
I know that nvl doesn't have this issue since you have to hide nvl text with the 'nvl clear' command, but I can't really use that in my project.
The only other alternative is to have text built into the screen at the same position as the text-box, and if I have to do this, is there are advice for the best possible method?
- Divona
- Miko-Class Veteran
- Posts: 678
- Joined: Sun Jun 05, 2016 8:29 pm
- Completed: The Falconers: Moonlight
- Organization: Bionic Penguin
- itch: bionicpenguin
- Contact:
Re: How to show text while calling a screen?
What about show screen before the text?
Code: Select all
show screen screen_name
"Hello World"
Re: How to show text while calling a screen?
I know this reply is very late, but that wouldn't work since I have to call the screen so it takes control.
Re: How to show text while calling a screen?
Try:
Code: Select all
screen test():
textbutton "Exit":
align .5, .5
action Return()
label start:
$ renpy.say("", "Meow!", interact=False)
call screen test
"Meow x2!"Re: How to show text while calling a screen?
Thanks that worked.
Who is online
Users browsing this forum: Google [Bot], Hojoo

