How To Outline Main Game Font?
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.
- Dollarluigi
- Regular
- Posts: 63
- Joined: Mon Aug 15, 2016 10:06 pm
- Completed: Winter Dream, School For The Friendless
- Tumblr: Rehnchoro
- Deviantart: Dollarluigi
- Skype: Dollarluigi
- Soundcloud: Dollarluigi
- Location: Probably Earth
- Contact:
How To Outline Main Game Font?
Is there a way to outline the text (dialogue specifically) in my project? I looked it up already and have not found anything helpful. What would I have to do and which .rpy file would it go in? It needs to be a way I can set it for all text without having to do it for each individual line.
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.
YouTube Twitter Tumblr Reddit deviantArt
YouTube Twitter Tumblr Reddit deviantArt
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: How To Outline Main Game Font?
tryDollarluigi wrote: ↑Mon Jun 08, 2020 1:55 pmIs there a way to outline the text (dialogue specifically) in my project? I looked it up already and have not found anything helpful. What would I have to do and which .rpy file would it go in? It needs to be a way I can set it for all text without having to do it for each individual line.
Code: Select all
style say_dialogue:
outlines [ (1, "#f00", 0, 0 ) ]
- hell_oh_world
- Miko-Class Veteran
- Posts: 777
- Joined: Fri Jul 12, 2019 5:21 am
- Projects: The Button Man
- Organization: NILA
- Github: hell-oh-world
- Location: Philippines
- Contact:
Re: How To Outline Main Game Font?
you can also define the outline per character basis.
or using modifying this style in screens.rpy, which would change the outline for any gui text *i think*
Code: Select all
define e = Character("Eileen", what_outlines=[(1, "#353535", 0, 0)])
label start:
e "This dialogue of this character is outlined."
Code: Select all
style gui_text:
properties gui.text_properties("interface")
outlines [(1, "#353535", 0, 0)] # the outline
- Dollarluigi
- Regular
- Posts: 63
- Joined: Mon Aug 15, 2016 10:06 pm
- Completed: Winter Dream, School For The Friendless
- Tumblr: Rehnchoro
- Deviantart: Dollarluigi
- Skype: Dollarluigi
- Soundcloud: Dollarluigi
- Location: Probably Earth
- Contact:
Re: How To Outline Main Game Font?
Well, I'm wanting to to do all text, not just specific characters. And if it goes into screens.rpy, that could be a problem with the gui I'm using since it has several different .rpy files and all of the code that makes everything work has been moved around. :/
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.
YouTube Twitter Tumblr Reddit deviantArt
YouTube Twitter Tumblr Reddit deviantArt
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: How To Outline Main Game Font?
If you have one or many rpy-files does generally not matter. "The machine" looks on them as one set of instructions no matter what number of files you split up the code in.Dollarluigi wrote: ↑Tue Jun 09, 2020 12:48 pmWell, I'm wanting to to do all text, not just specific characters. And if it goes into screens.rpy, that could be a problem with the gui I'm using since it has several different .rpy files and all of the code that makes everything work has been moved around. :/
Some initialization statements needs to run before other stuff though. That's why you in the start of gui.rpy and screens.rpy have "init offset" commands. As long as you don't mess with that, splitting up code in many rpy-files should not be a problem.
- Dollarluigi
- Regular
- Posts: 63
- Joined: Mon Aug 15, 2016 10:06 pm
- Completed: Winter Dream, School For The Friendless
- Tumblr: Rehnchoro
- Deviantart: Dollarluigi
- Skype: Dollarluigi
- Soundcloud: Dollarluigi
- Location: Probably Earth
- Contact:
Re: How To Outline Main Game Font?
It worked.Per K Grok wrote: ↑Wed Jun 10, 2020 12:12 amtryCode: Select all
style say_dialogue: outlines [ (1, "#f00", 0, 0 ) ]
Suffering a rare condition is one of the worst things you could ever experience because no one understands a thing.
YouTube Twitter Tumblr Reddit deviantArt
YouTube Twitter Tumblr Reddit deviantArt
Who is online
Users browsing this forum: Bing [Bot]