How to run a normal transition at same time as window hide/show with dissolve?

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
Gachapen
Newbie
Posts: 16
Joined: Sat Jan 14, 2023 12:48 pm
Contact:

How to run a normal transition at same time as window hide/show with dissolve?

#1 Post by Gachapen »

I have my window set to dissolve with

define config.window_show_transition = Dissolve(.25)
define config.window_hide_transition = Dissolve(.25)

and it works as intended.

However, I cannot get it to play at same time as normal transition, no matter what order I run them, they will execute separately.

Examples:


window hide

hide npc1 with Dissolve (.25)


hide npc1 with Dissolve (.25)

window hide


window hide

hide npc1

with Dissolve (.25)


they all transition separately.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3808
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: How to run a normal transition at same time as window hide/show with dissolve?

#2 Post by Imperf3kt »

Ordinarily you just place the transition on its own line as in your last example.
Swap the order, hide the NPC first and the window second.
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

Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot]