How to make dialogue box appear on the right?

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
rodent
Regular
Posts: 33
Joined: Mon Aug 22, 2011 5:02 am
Tumblr: jyagger
Contact:

How to make dialogue box appear on the right?

#1 Post by rodent »

Image

I want to cut the screen down the middle with the dialogue and text appearing on the right(kind of like Hotel Dusk but filling up the whole side) and sprites on the left. I was able to get the choice menus to appear on the right side but am having trouble with the dialogue. I've tried editing the margins and padding in options.rpy but I don't see any changes in the game.

apologies if this is a dumb question but I wasnt able to find a solution.

mjshi
Regular
Posts: 179
Joined: Wed Mar 13, 2013 9:55 pm
Completed: MazeSite01, Ponderings of Time
Contact:

Re: How to make dialogue box appear on the right?

#2 Post by mjshi »

This is by no means a thorough response, but it is a quick one. If you have further questions or need clarification, just reply. I'll check back tomorrow.

Two possibilities to try:

- yaligns and decreasing the say window width (I'm assuming you're using default text box graphics)
- creating a custom text box using your own images with Aleema's tutorial and setting the left padding

The first one is less work, if you can figure it out, good job :) if not, give me twelve hours and I'll post an example of it here.

User avatar
rodent
Regular
Posts: 33
Joined: Mon Aug 22, 2011 5:02 am
Tumblr: jyagger
Contact:

Re: How to make dialogue box appear on the right?

#3 Post by rodent »

Thank you for the suggestions. I have no idea how to change the say window width. I can move the dialogue box to the top or have all the text on the right but that's it.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1962
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: How to make dialogue box appear on the right?

#4 Post by Donmai »

Go to your options.rpy and find these lines:

Code: Select all

## Margin is space surrounding the window, where the background
    ## is not drawn.

    # style.window.left_margin = 6
    # style.window.right_margin = 6
    # style.window.top_margin = 6
    # style.window.bottom_margin = 6

    ## Padding is space inside the window, where the background is
    ## drawn.

    # style.window.left_padding = 6
    # style.window.right_padding = 6
    # style.window.top_padding = 6
    # style.window.bottom_padding = 6
Uncomment the lines that begin with 'style', this way:

Code: Select all

## Margin is space surrounding the window, where the background
    ## is not drawn.

    style.window.left_margin = 6
    style.window.right_margin = 6
    style.window.top_margin = 6
    style.window.bottom_margin = 6

    ## Padding is space inside the window, where the background is
    ## drawn.

    style.window.left_padding = 6
    style.window.right_padding = 6
    style.window.top_padding = 6
    style.window.bottom_padding = 6
Increase the left margin and left padding values till you're satisfied.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
rodent
Regular
Posts: 33
Joined: Mon Aug 22, 2011 5:02 am
Tumblr: jyagger
Contact:

Re: How to make dialogue box appear on the right?

#5 Post by rodent »

THANK YOU! I feel dumb for not understanding what I was supposed to do earlier. :s

Post Reply

Who is online

Users browsing this forum: Semrush [Bot]