Dissolving several things at the same time.

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
kuroi
Regular
Posts: 129
Joined: Fri Jun 29, 2007 10:50 am
Location: Albuquerque, New Mexico, USA
Contact:

Dissolving several things at the same time.

#1 Post by kuroi » Tue Apr 28, 2009 2:31 pm

Hey there,
As it stands right now, when use the dissolve transition, the game waits for the dissolve to finish and then goes on to the next line of the script.

I was thinking today that it would be cool if you could have several dissolves going at the same time. For example if I had two characters, i would be awesome to make them both change poses using the dissolve transition at the same time.

Is this something that can already be done and I just don't know how? If not, it'd be a cool function to see added to the renpy library.

~Kuroi
President, Planner, and Programmer for Kuroi Games!

User avatar
usul
Veteran
Posts: 415
Joined: Mon Oct 29, 2007 12:35 pm
Projects: Teachings of the Buddha, System-Addict, Generation XxX
Location: Quebec
Contact:

Re: Dissolving several things at the same time.

#2 Post by usul » Tue Apr 28, 2009 2:37 pm

You can do that by putting the 'with dissolve" transition at the end of both character changes like so:

Code: Select all

show Bob tired at right
show Alice angry at left
with dissolve
"The universe is non-simultaneously apprehended"
— Buckminster Fuller

User avatar
kuroi
Regular
Posts: 129
Joined: Fri Jun 29, 2007 10:50 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: Dissolving several things at the same time.

#3 Post by kuroi » Tue Apr 28, 2009 3:39 pm

oh... wow... that's deceptively easy...
President, Planner, and Programmer for Kuroi Games!

Post Reply

Who is online

Users browsing this forum: Alex, Google [Bot], nyeowmi