Different fonts
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.
Different fonts
Please, tell me, how to use different fonts in game menu, narrator's texts and dialogues? I do not find this option and in cookbook not exist this recipe.
- nottiebutt
- Regular
- Posts: 40
- Joined: Thu Jul 26, 2012 12:12 am
- Location: Tasmania, Australia
- Contact:
Re: Different fonts
style.default.font = "[file].ttf"
Re: Different fonts
No, this line change all text. I want, for example, use in game menu Times New Roman, in narrator text Mistral, in dialogues - Mistral Bold.nottiebutt wrote:style.default.font = "[file].ttf"
- Deji
- Cheer Idol; Not Great at Secret Identities
- Posts: 1592
- Joined: Sat Oct 20, 2007 7:38 pm
- Projects: http://bit.ly/2lieZsA
- Organization: Sakevisual, Apple Cider, Mystery Parfait
- Tumblr: DejiNyucu
- Deviantart: DejiNyucu
- Location: Chile
- Contact:
Re: Different fonts
I styled the Name front with this line:
Here, say_label is the name of the "character name" element. I'm pretty sure if you dig around the documentation you'll find the names of the other elements and will be able to style them accordingly (:
Code: Select all
style.say_label.font="fonts/Copse-Regular.ttf"
When drawing something, anything, USE REFERENCES!! Use your Google-fu!
Don't trust your memory, and don't blindly trust what others teach you either.
Research, observation, analysis, experimentation and practice are the key! (:
Who is online
Users browsing this forum: No registered users