Automatic transition when an image replaces another with the same tag?

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
zmook
Veteran
Posts: 421
Joined: Wed Aug 26, 2020 6:44 pm
Contact:

Automatic transition when an image replaces another with the same tag?

#1 Post by zmook »

Is there a way to define an automatic transition for when an image replaces another with the same tag?

I have found

Code: Select all

define config.speaking_attribute = "speaking"
define config.say_attribute_transition = Dissolve(0.3)
which implements an automatic transition for attributes added when the character is talking, but if I change their expression while someone else is talking, I have to type "with dissolve" every time. Is there a better way?

Code: Select all

    show eileen concern with dissolve
    "I stared at her. There were a dozen questions I wanted to ask."
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM

Post Reply

Who is online

Users browsing this forum: Kocker