Basically, after every show "x image", I have to use hide "x image" and I feel like that's a real bother (Maybe I am doing something wrong, but whenever I just use "show" without hiding previous image, the previous image stays there...forever, so I absolutely need to do this currently), so I'm wondering if there is any way I can make it so that whenever a new "show image" image appears, It automatically goes "over' the previous image or something?
thanks.
How do I make "Hide" option automatic?
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.
Re: How do I make "Hide" option automatic?
every time I use scene there is a small "fade" or something similar to it and the text disappears for like half a second...Scribbles wrote:you should try scene vs show?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: How do I make "Hide" option automatic?
You could cheat and use "show xxx as xxx"
For example:
Of course, this only works for back-and-forth conversations where both characters occupy the same area
For example:
Code: Select all
show eileen at left
eileen "Hey, Lucy, lets go buy pizza!"
show lucy as eileen
lucy "Sounds great."
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- TellerFarsight
- Veteran
- Posts: 230
- Joined: Sun Jun 04, 2017 8:09 pm
- Projects: Vora, Secrets Untold
- Location: Toronto, ON
- Contact:
Re: How do I make "Hide" option automatic?
What kind of images we talkin'?
Can you use tags to define groups of images? Sprites use tags so that showing a new expression overwrites the previous expression, and you can make use of that for whatever images you're talking about. This is essentially what Imperf3kt's solution is; both eileen and lucy in the example have the "eileen" tag, and so both can't exist at the same time. So, showing one automatically hides the other.
Can you use tags to define groups of images? Sprites use tags so that showing a new expression overwrites the previous expression, and you can make use of that for whatever images you're talking about. This is essentially what Imperf3kt's solution is; both eileen and lucy in the example have the "eileen" tag, and so both can't exist at the same time. So, showing one automatically hides the other.
- Taleweaver
- Writing Maniac
- Posts: 3428
- Joined: Tue Nov 11, 2003 8:51 am
- Completed: Metropolitan Blues, The Loyal Kinsman, Daemonophilia, The Dreaming, The Thirteenth Year, Adrift, Bionic Heart 2, Secrets of the Wolf, The Photographer
- Projects: The Pilgrim's Path, Elspeth's Garden, Secret Adventure Game!
- Organization: Tall Tales Productions
- Location: Germany
- Contact:
Re: How do I make "Hide" option automatic?
Moved to Ren'Py Questions.
Scriptwriter and producer of Metropolitan Blues
Creator of The Loyal Kinsman
Scriptwriter and director of DaemonophiliaScriptwriter and director of The Dreaming
Scriptwriter of Zenith ChroniclesScriptwriter and director of The Thirteenth Year
Scriptwriter and director of Romance is DeadScriptwriter and producer of Adrift
More about me in my blog"Adrift - Like Ever17, but without the Deus Ex Machina" - HigurashiKira
- vollschauer
- Veteran
- Posts: 231
- Joined: Sun Oct 11, 2015 9:38 am
- Github: vollschauer
- Contact:
Re: How do I make "Hide" option automatic?
"Bundle" your character images, so you don't have to hide the previous one if you show the "next" image of the same character
https://www.renpy.org/doc/html/displayi ... -statement
https://www.renpy.org/doc/html/displayi ... -statement
Who is online
Users browsing this forum: No registered users