[Solved] Changing image while text is processing

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
m_from_space
Miko-Class Veteran
Posts: 975
Joined: Sun Feb 21, 2021 3:36 am
Contact:

[Solved] Changing image while text is processing

#1 Post by m_from_space »

I don't know if this is just not possible in Ren'py or I didn't even get some basics yet, but I want something like this:

Code: Select all

scene eileen happy
e "Hey there!"
e "Sometimes I can change my face{nw}"
show eileen sad with dissolve
extend " and people think I am sad, while I am actually{nw}"
show eileen happy with dissolve
extend " just acting."
So Ren'py hides the text while doing the transition, but this looks ugly to me. Is there a better way to achieve this? I basically want the text to unfold while things are visually happening in the background. I know ATL transforms are not affected, but show statements seem to be.
Last edited by m_from_space on Tue Mar 02, 2021 6:48 am, edited 1 time in total.

User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Contact:

Re: Changing image while text is processing

#2 Post by hell_oh_world »

tried using dict transitions? (documented on `renpy Transitions`)
something like... show something with dict(master=dissolve)

User avatar
m_from_space
Miko-Class Veteran
Posts: 975
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: Changing image while text is processing

#3 Post by m_from_space »

That's exactly what I need, thank you so much! :)

I even had the Transitions entry bookmarked, but didn't expect a "Dict" transition to be the solution here. Sounded like we can just make a dict full of transitions. :D

Post Reply

Who is online

Users browsing this forum: Google [Bot], snotwurm