[Solved] Move side image to right side?

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
Rekoija
Newbie
Posts: 15
Joined: Wed Nov 20, 2019 3:19 pm
Contact:

[Solved] Move side image to right side?

#1 Post by Rekoija » Tue May 26, 2020 7:13 am

By default side images assigned to a character is shown at the left side, in front of the dialog box, because it's typically used for the main character.
Thing is, sometimes I need to cover most of the screen with other stuff, so I need to be able to keep showing facial expressions of everyone.
I think it would look much better if only the main character showed up on the left side, while everyone else shows up at the right side.

I've tried a couple different things, but even when they didn't show an error message, the image would still just appear on the left.
I'm guessing it's because side images have a default somewhere, and you need more specific code than defining image position to actually move it?

define x = Character(image="x")
image side x expression = "x_expression.png"
- this one is the only of my characters that needs to be on the left side

define y = Character(image="y")
image side y expression = "y_expression.png"
- so what do i change here to show the rest of the characters on the right side?

Any help would be much appreciated, and thanks in advance!
Last edited by Rekoija on Tue May 26, 2020 9:54 am, edited 1 time in total.

User avatar
gas
Miko-Class Veteran
Posts: 718
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: Move side image to right side?

#2 Post by gas » Tue May 26, 2020 9:19 am

This one (and not the entire discussion, just that reply) is what you have to do.
viewtopic.php?t=48137#p477916
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll be not notified about.

10 ? "RENPY"
20 GOTO 10

RUN

Post Reply

Who is online

Users browsing this forum: No registered users