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.
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.
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.
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.
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
## 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:
## 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.