Is it possible to have each character use a different font? I know it's possible to define a font for a particular line, but doing that for the whole thing seems like it's going to be a pain and leaves massive space for messing up. I've tried messing around with Character arguments, but nothing I've tried works. Is it possible to set a font for a character, or will I have to do this manually?
Apologies if this is already answered or obvious.
[SOLVED] Different fonts for each character
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.
-
- Newbie
- Posts: 3
- Joined: Sat Aug 24, 2013 5:49 am
- Projects: Witch Hunt [starter project]
- Location: UK
- Contact:
[SOLVED] Different fonts for each character
Last edited by Sakkeru on Sat Aug 24, 2013 1:38 pm, edited 1 time in total.
Re: Different fonts for each character
what_font.
$ t = Character(None, what_font="CourierNew.ttf")
$ t = Character(None, what_font="CourierNew.ttf")
If your question is solved, please add [Solved] to theme's name by editing its first post, so that the helpful guys out there wouldn't mistakenly think the problem is still unanswered and waste their time.
-
- Newbie
- Posts: 3
- Joined: Sat Aug 24, 2013 5:49 am
- Projects: Witch Hunt [starter project]
- Location: UK
- Contact:
Re: [SOLVED] Different fonts for each character
Thank you kindly~
- OokamiKasumi
- Eileen-Class Veteran
- Posts: 1779
- Joined: Thu Oct 14, 2010 3:53 am
- Completed: 14 games released -- and Counting.
- Organization: DarkErotica Games
- Deviantart: OokamiKasumi
- Location: NC, USA
- Contact:
Re: [SOLVED] Different fonts for each character
Fonts aren't the only thing you can make individual to a character.
Code: Select all
init:
define d = Character(None,
kind=nvl,
what_font = "Champagne & Limousines Bold.ttf",
what_color="ffcccc",
what_size = 24,
what_drop_shadow = (2, 2,),
what_prefix="\"",
what_suffix="\"",
)
define e = Character(None,
kind=nvl,
what_font = "AUBREY1__.TTF",
what_color="ccffcc",
what_size = 20,
what_drop_shadow = (2, 2,),
what_prefix="\"",
what_suffix="\"",
)
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed:
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Most recent Games Completed:
- The Walk[Psychological][NanoWinter] ~ PG New!
- Trap! [ModernFantasy][VN] ~ PG16
- The Adventures of Prince Ivan [Fant/Adv/VN] ~ PG
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Who is online
Users browsing this forum: Google [Bot]