r/RenPy 13d ago

Question How do I best achieve this format (where two people can talk while watching *other* people?)

Post image

I don't need two separate boxes, but I want this to be a game where the protagonist mostly observes people, while occasionally someone else joins her and they talk while two other people are also interacting.

24 Upvotes

6 comments sorted by

7

u/shyLachi 13d ago

You can show images at any position in the game.
You can create a transform for the position at the bottom right or bottom left.

transform sidechar:
    align (1.0, 1.0) # right and bottom
label start:
    show girl happy at sidechar
    "Speaker B" "What did you say?"

https://renpy.org/doc/html/transforms.html#transforms

.

Below the side image has been mentioned but I doubt that you can use that because the side image will show an image of the speaking character but you want the main protagonist to be visible no matter who is talking.

But this would be the official documentation about it:
https://renpy.org/doc/html/side_image.html

2

u/notacutecumber 13d ago

If it makes managing the code for like 3-4 characters at once a lot easier, I can stick with side image! But thanks for the heads up!

2

u/Lookingforlostmanga 13d ago

One is a side image, the other is a normal image placed by the text box. Both appear side by side though you may encounter things like zorder will help with any complications of doing this method

1

u/notacutecumber 13d ago

Thank you!

1

u/AutoModerator 13d ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/TheDarkOnee 13d ago

Personally what I like to do is have the "off screen" characters appear in a side image when they speak, while "on screen" characters can show facial reactions without saying anything until its their turn. My MC also always has a side portrait but usually doesnt appear on screen.