2 characters appearing 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
Cybeat
Miko-Class Veteran
Posts: 607
Joined: Wed Jan 02, 2008 3:12 am
Contact:

2 characters appearing at the same time?

#1 Post by Cybeat » Tue May 27, 2008 9:59 pm

(Ah, finally the right thread). Anyway, is it possible to have 2 characters appearing on the screen at the same time? If so, how do I do it?
Mujinchitai
http://lemmasoft.renai.us/forums/viewto ... =16&t=3360
Current Status: artist of R.E.M: Reality's Dream and musician, programmer, and writer of Mujinchitai

User avatar
Twar3Draconis
Regular
Posts: 129
Joined: Thu Apr 19, 2007 12:07 am
Location: Michigan, United States, Terra
Contact:

Re: 2 characters appearing at the same time?

#2 Post by Twar3Draconis » Tue May 27, 2008 10:38 pm

Would you not just show a character?

Code: Select all

show blahone normal at right
show blahtwo normal at left
?
Image

User avatar
000
Regular
Posts: 94
Joined: Mon Dec 24, 2007 11:09 am
Projects: Ren'Py Russian distributive
Location: Уфа, РБ, Россия
Contact:

Re: 2 characters appearing at the same time?

#3 Post by 000 » Tue May 27, 2008 10:38 pm

Cybeat wrote:(Ah, finally the right thread). Anyway, is it possible to have 2 characters appearing on the screen at the same time? If so, how do I do it?
???
You cannot talk about two character images, right?
So, what do you want, two text windows with different characters' lines? or something other?
<feels sowwy for his Engrish>

User avatar
Cybeat
Miko-Class Veteran
Posts: 607
Joined: Wed Jan 02, 2008 3:12 am
Contact:

Re: 2 characters appearing at the same time?

#4 Post by Cybeat » Wed May 28, 2008 6:51 am

No, not like that. I mean, when I want 2 character image to appear, I want them to appear simultaneously. If I did

show character1 with dissolve
show character2 with dissolve

character2 appears after character1, not at the same time.
Mujinchitai
http://lemmasoft.renai.us/forums/viewto ... =16&t=3360
Current Status: artist of R.E.M: Reality's Dream and musician, programmer, and writer of Mujinchitai

User avatar
akemicchi
Veteran
Posts: 465
Joined: Mon Dec 31, 2007 11:22 pm
Projects: Magicians of Delphine, Panaderia: Ensaimada, SweetTooth!, XOXO Droplets
Deviantart: littlebabyshoes
Contact:

Re: 2 characters appearing at the same time?

#5 Post by akemicchi » Wed May 28, 2008 6:57 am

You can just do what Twar3Draconis said and just show the characters without dissolve... 8D;

But as for having multiple images with transitions appear simultaneously... Well, I have no idea how you could do that; maybe someone else knows. XD; Doesn't Ren'Py finish the transition before continuing on to the next line??


EDIT:
Have you considered just keeping the effect of them appearing one after the other, or is that out of the question? Because I think having them appear separately could be a nice effect, too~

User avatar
Mochiron
Regular
Posts: 30
Joined: Fri May 09, 2008 9:46 am
Contact:

Re: 2 characters appearing at the same time?

#6 Post by Mochiron » Wed May 28, 2008 8:37 am

This works for me. Both characters dissolve at the same time.

Code: Select all

   show character1 at left
   show character2 at right
   with dissolve

User avatar
chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

Re: 2 characters appearing at the same time?

#7 Post by chronoluminaire » Wed May 28, 2008 12:04 pm

Yes, Mochiron's way to do it is the right way.

The thing is,

Code: Select all

show char1 with dissolve
is just a convenient Ren'Py shortcut for

Code: Select all

with None
show char1
with dissolve
Which means "finish everything on the previous lines, and then show char1 with dissolve".
The thing is, this means

Code: Select all

show char1 with dissolve
show char2 with dissolve
is the same as:

Code: Select all

with None
show char1
with dissolve
with None
show char2
with dissolve
Which dissolves in char1, then dissolves in char2.

If you want to make them both dissolve in at the same time, then you need to put the with statement on its own line:

Code: Select all

with None
show char1
show char2
with dissolve
And you usually don't need the "with None" at the start.
Last edited by chronoluminaire on Thu May 29, 2008 10:40 am, edited 1 time in total.
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

User avatar
Cybeat
Miko-Class Veteran
Posts: 607
Joined: Wed Jan 02, 2008 3:12 am
Contact:

Re: 2 characters appearing at the same time?

#8 Post by Cybeat » Wed May 28, 2008 3:37 pm

@chronoluminaire and Mochiron: Thanks. It worked.
Mujinchitai
http://lemmasoft.renai.us/forums/viewto ... =16&t=3360
Current Status: artist of R.E.M: Reality's Dream and musician, programmer, and writer of Mujinchitai

Post Reply

Who is online

Users browsing this forum: Bing [Bot]