How to make the namebox bold?

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
henvu50
Veteran
Posts: 322
Joined: Wed Aug 22, 2018 1:22 am
Contact:

How to make the namebox bold?

#1 Post by henvu50 » Wed Aug 22, 2018 6:53 am

How do I make the namebox bold? Not the characters say text, but the characters namebox?

This changes the character say text to bold, but how do you make the namebox bold?
define mrperson = Character('bill', what_bold = True)

Does something like the following exist?
define mrperson = Character('bill', what_namebox_bold = True)

Also, how do you change the namebox text color?

I have the documentation open, but could not find the answer:
- https://www.renpy.org/doc/html/gui.html ... tomization

henvu50
Veteran
Posts: 322
Joined: Wed Aug 22, 2018 1:22 am
Contact:

Re: How to make the namebox bold?

#2 Post by henvu50 » Wed Aug 22, 2018 8:21 am

make namebox bold with a font ttf file

Code: Select all

define bill = Character('bill', who_font = 'font-name-bold.ttf')
make namebox bold

Code: Select all

define bill = Character('bill', who_font = 'font-name-regular.ttf', who_bold=True)
this changes the name box font text color, but this changes title color in the start of the program too.

Code: Select all

define gui.accent_color = '#171808'
You can change NameBox color only this way.

Code: Select all

define bill = Character('bill', who_font = 'font-name-regular.ttf', who_bold=True, color = '#444558')
tag, name, namebox, character, change, bold, color

Post Reply

Who is online

Users browsing this forum: Google [Bot], span4ev