[Solved] How do I perform two different transitions at once?

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
awsome2464
Newbie
Posts: 17
Joined: Mon Aug 27, 2018 4:22 pm
Completed: REDD War
Projects: Berry Street, REDD War: Showtime
Organization: Good Tales
itch: goodtalesvn
Contact:

[Solved] How do I perform two different transitions at once?

#1 Post by awsome2464 » Mon Aug 27, 2018 4:29 pm

What I'm aiming to do is have two characters spread apart and have a third character dissolve between them, but I'm not sure how to have the two characters move out at the same time. I know to have them perform the same action at the same time, it would be:

Code: Select all

show sprite1 at right
show sprite2 at left
with dissolve
and to have them perform two different transitions with one after the other, it would be:

Code: Select all

show sprite1 at right with moveinright
show sprite2 at left with moveinleft
but how would I go about essentially combining these two? I know it's possible, since I've seen it done in Katawa Shoujo, but I've looked seemingly everywhere and can't find a solution, so any and all help would be greatly appreciated.
Last edited by awsome2464 on Wed Aug 29, 2018 6:48 pm, edited 1 time in total.

philat
Eileen-Class Veteran
Posts: 1853
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: How do I perform two different transitions at once?

#2 Post by philat » Tue Aug 28, 2018 9:03 pm

Use ATL instead.

rames44
Veteran
Posts: 232
Joined: Sun May 29, 2016 4:38 pm
Contact:

Re: How do I perform two different transitions at once?

#3 Post by rames44 » Wed Aug 29, 2018 12:48 pm

To expand slightly:

Code: Select all

show sprite1:
    pos (put starting x,y here)
    linear 1.0 pos (put ending x,y here)
The ATL animating the image doesn’t “count as a transition”, so there isn’t a wait associated with it. Thus, you can do the same thing with sprite2 simultaneously.

User avatar
awsome2464
Newbie
Posts: 17
Joined: Mon Aug 27, 2018 4:22 pm
Completed: REDD War
Projects: Berry Street, REDD War: Showtime
Organization: Good Tales
itch: goodtalesvn
Contact:

Re: How do I perform two different transitions at once?

#4 Post by awsome2464 » Wed Aug 29, 2018 2:42 pm

rames44 wrote:
Wed Aug 29, 2018 12:48 pm
To expand slightly:

Code: Select all

show sprite1:
    pos (put starting x,y here)
    linear 1.0 pos (put ending x,y here)
The ATL animating the image doesn’t “count as a transition”, so there isn’t a wait associated with it. Thus, you can do the same thing with sprite2 simultaneously.
Gotcha! I figured ATL was going to be a factor, but I wasn't sure how to apply it. Thank you so much!

Post Reply

Who is online

Users browsing this forum: Google [Bot], span4ev