How to adjust character name?
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.
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.
-
- Regular
- Posts: 104
- Joined: Sun Dec 13, 2015 2:06 pm
- Projects: Detroit.exe
- Discord: Happiness+#1168
- Contact:
How to adjust character name?
How do you I make the Character's name bigger so I can push the dialogue text down some? Also, how can center each character name so it can fit the name box properly?
- Attachments
-
- As you can see, this is the problem. You can barely see the character's dialogue because it blending with the textbox color border.
- NameProblem.PNG (7.96 KiB) Viewed 365 times
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: How to adjust character name?
Try adjusting the window's padding in settings;
This is my code in my game right now. It might take some adjusting to get what you want.
This is my code in my game right now. It might take some adjusting to get what you want.
Code: Select all
## These settings let you customize the window containing the
## dialogue and narration, by replacing it with an image.
## The background of the window. In a Frame, the two numbers
## are the size of the left/right and top/bottom borders,
## respectively.
style.window.background = Frame("thing.png", 12, 12)
## 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 = 170
style.window.right_padding = 20
style.window.top_padding = 15
style.window.bottom_padding = 6
## This is the minimum height of the window, including the margins
## and padding.
# style.window.yminimum = 250
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot]