[Solved] Two character objects in dialogue box
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.
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.
[Solved] Two character objects in dialogue box
Hi, is there a way to put two characters under a define character line so they both appear in one dialogue box?
Last edited by Doeny on Sat Nov 18, 2023 9:30 pm, edited 1 time in total.
- m_from_space
- Eileen-Class Veteran
- Posts: 1162
- Joined: Sun Feb 21, 2021 3:36 am
- Contact:
Re: Two character objects in dialogue box
No, you cannot define two distinct characters within one object.
But you can still show lines of dialogue from different characters at the same time using Renpy's "multiple dialogue" feature: https://www.renpy.org/doc/html/multiple.html
On the other hand, you can of course create one character object that would resemble two characters (let's say Siamese twins):
Code: Select all
define twins = Character("Sally & Lucy")
label start:
twins "Sally: Hey there! Lucy: Oh come on Sally, don't be that polite!"
Re: Two character objects in dialogue box
For some reason when using the multiple dialogue, both second character's text and textbox cover the first one. But it can be fixed by changing the styles.m_from_space wrote: ↑Tue Nov 14, 2023 8:43 amNo, you cannot define two distinct characters within one object.
But it's probably easier to create unique objects for both of them, then use the same "side image" when they are speaking and/or use the multiple dialogue feature mentioned above. This way you can set distinct colors and whatnot and also don't have to put in their names all the time.
- m_from_space
- Eileen-Class Veteran
- Posts: 1162
- Joined: Sun Feb 21, 2021 3:36 am
- Contact:
Re: Two character objects in dialogue box
It's necessary to define different styles to make multiple character dialogue work. It's not a strange reason. (Read more about it in the link I provided.)
Who is online
Users browsing this forum: Ahrefs [Bot], ChangLu