How to fade out dialogue text?

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
Hellboy
Regular
Posts: 86
Joined: Mon Dec 24, 2012 9:37 pm
Location: Heredia. Costa Rica.
Contact:

How to fade out dialogue text?

#1 Post by Hellboy » Mon Apr 22, 2013 12:18 am

I'm convinced this is basic stuff, but I cant find out how to fade out a character's text with the dissolve transition.
I wanted something like the "text" option, but I defined a "narrator" because I wanted an outline and stuff. So this is what I have:

Code: Select all

narrator "I dissolve in, but I don't know how to dissolve out" with Dissolve(2.0)
What would be the equivalent of this for a character's text?:

Code: Select all

show text "I can dissolve out" with Dissolve(3.0)
hide text with Dissolve(3.0)
Thanks.
Image
FREE and easy 3D customization, posing, and animation software with pre-made people and environments:
DAZ Studio Pro 4.9

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: How to fade out dialogue text?

#2 Post by PyTom » Tue Apr 23, 2013 12:16 am

There isn't a terribly good way to do this in modern Ren'Py. You'd have to do something like:

Code: Select all

$ extend("", interact=False)
with None
with dissolve
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot]