Question about Text-advancing
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.
-
Guest
Question about Text-advancing
I have a piece of text displayed and use autoadvance {nw} to automatically call the next event (e.g. an image appears). However, I now want the text to stay as it is until the next click (normally, the next piece of text already appears)
In short, what I want to achieve is: Text1 displays --> Image displays automatically --> Text1 is still there (until the user clicks again)
(PS: Also, is there a simple "wait for user click" function?)
Thanks for your time!
In short, what I want to achieve is: Text1 displays --> Image displays automatically --> Text1 is still there (until the user clicks again)
(PS: Also, is there a simple "wait for user click" function?)
Thanks for your time!
- JQuartz
- Eileen-Class Veteran
- Posts: 1265
- Joined: Fri Aug 31, 2007 7:02 am
- Projects: 0 completed game. Still haven't made any meaningfully completed games...
- Contact:
Re: Question about Text-advancing
Er...I don't really get what you mean but try this code:
Code: Select all
init:
image blue=Solid('#0f0')
label start:
"This is Text 1: The world is spherical and it's plagued by global warming{nw}"
show blue
"This is Text 1: The world is spherical and it's plagued by global warming{fast}"I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.
- Megaman Z
- Miko-Class Veteran
- Posts: 829
- Joined: Sun Feb 20, 2005 8:45 pm
- Projects: NaNoRenO 2016, Ren'Py tutorial series
- Location: USA
- Contact:
Re: Question about Text-advancing
alternatively, you can substitute this instead of typing in the second line:
this results in:
note that, ideally, you would have the text be appearing at a relatively slow CPS (Character-Per-Second), otherwise you won't see much of an effect.
(extend is a special "character" that adds on to the previous say command or [if given a null string like in the code above] keeps the previous say command exactly as it is)
Code: Select all
extend ""Code: Select all
init:
image blue=Solid('#0f0')
label start:
"This is Text 1: The world is spherical and it's plagued by global warming{nw}"
show blue
extend ""(extend is a special "character" that adds on to the previous say command or [if given a null string like in the code above] keeps the previous say command exactly as it is)
~Kitsune Zeta
Who is online
Users browsing this forum: No registered users

