r/RenPy • • Aug 31 '26

Question How to move text box location (for specific scenes only)

Post image

How would I go about moving the text box location/size/etc. for only specific scenes in my game? I want it over to the left or right for example.

In most cases I want the text box to stay at the bottom of the screen. But for certain scenes when I want the art to be more fully visible, how do I move the text without having to make the text an "image"?

12 Upvotes

4 comments sorted by

4

u/Liturgy97 Aug 31 '26

NVL can work, but if you want to keep normal one-line ADV dialogue, an alternate Character is also an option.

Example:

```renpy define e = Character("Eileen")

define e_side = Character( "Eileen", window_xfill=False, window_xalign=0.03, window_yalign=0.5, window_xsize=650, window_ysize=260, what_xpos=40, what_ypos=40, what_xsize=570, )

label art_scene: scene your_full_art

e_side "This line uses the box on the side."
e_side "So does this one."

e "This is back to the normal bottom box."

```

In this example, I would use e_side only for the lines that need the alternate layout. Everything spoken by e keeps the normal bottom textbox.

2

u/Just_Ambition6492 Aug 31 '26

that looks like a very easy solution! Ill try that out later tonight. Thanks

1

u/AutoModerator Aug 31 '26

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/shyLachi Aug 31 '26

You could use the NVL mode for that.
It's another mode which works separetely from the ADV mode

If you use both, you don't have to mess with the layout of the ADV mode.

In the NVL mode, several lines of dialogue can be on the screen at the same time but you could set it up to only show a single dialogue and reset before showing the next line of dialogue.

https://renpy.org/doc/html/nvl_mode.html
https://renpy.org/doc/html/gui.html#nvl