Outline around all text? [SOLVED]

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
User avatar
Kokoro Hane
Eileen-Class Veteran
Posts: 1219
Joined: Thu Oct 27, 2011 6:51 pm
Completed: 30 Kilowatt Hours Left, The Only One Girl { First Quarter }, An Encounter ~In The Rain~, A Piece of Sweetness, Since When Did I Have a Combat Butler?!, Piece by Piece, +many more
Projects: Fateful Encounter, Operation: Magic Hero
Organization: Tofu Sheets Visual
Deviantart: kokoro-hane
itch: tofu-sheets-visual
Contact:

Outline around all text? [SOLVED]

#1 Post by Kokoro Hane » Fri Mar 08, 2013 2:36 pm

So I played the tutorial and learned about font tags. However, how do I set it where the default of ALL text (dialogue and narration) that shows up will be outlined? I want to put black outline around the text, since with the textbox I am using, sometimes the dialogue can be hard to read 'cause it almost blends in with the lighter parts depending on the background. I'm guessing you'd do it in the text section of the Options part of the script, I just don't know exactly how'd you would code that. Thank you in advanced !
Last edited by Kokoro Hane on Fri Mar 08, 2013 2:47 pm, edited 1 time in total.
PROJECTS:
Operation: Magic Hero [WiP]
Piece By Piece [COMPLETE][Spooktober VN '20]
RE/COUNT RE:VERSE [COMPLETE][RPG]
Since When Did I Have a Combat Butler?! [COMPLETE][NaNoRenO2020+]
Crystal Captor: Memory Chronicle Finale [COMPLETE][RPG][#1 in So Bad It's Good jam '17]

But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"

User avatar
klonki
Regular
Posts: 32
Joined: Thu Sep 27, 2012 3:06 pm
Projects: Her Majesty!
Organization: skyline+
Contact:

Re: Outline around all text?

#2 Post by klonki » Fri Mar 08, 2013 2:43 pm

If you want all the text to have an outline, use this:

Code: Select all

style.default.outlines = [(2, "#5f3d35", 0, 0)]
But if you only want to add outline for both the narration and dialogue texts, you may use this:

Code: Select all

style.say_dialogue.outlines = [(1, "#fff", 0, 0)] #dialogue text
style.say_thought.outlines = [(1, "#fff", 0, 0)] #narration text
The latter is how I do it on mine. Hope that helps!

User avatar
Kokoro Hane
Eileen-Class Veteran
Posts: 1219
Joined: Thu Oct 27, 2011 6:51 pm
Completed: 30 Kilowatt Hours Left, The Only One Girl { First Quarter }, An Encounter ~In The Rain~, A Piece of Sweetness, Since When Did I Have a Combat Butler?!, Piece by Piece, +many more
Projects: Fateful Encounter, Operation: Magic Hero
Organization: Tofu Sheets Visual
Deviantart: kokoro-hane
itch: tofu-sheets-visual
Contact:

Re: Outline around all text? [SOLVED]

#3 Post by Kokoro Hane » Fri Mar 08, 2013 2:47 pm

OH MY GOSH, THANK YOU!! ^o^
PROJECTS:
Operation: Magic Hero [WiP]
Piece By Piece [COMPLETE][Spooktober VN '20]
RE/COUNT RE:VERSE [COMPLETE][RPG]
Since When Did I Have a Combat Butler?! [COMPLETE][NaNoRenO2020+]
Crystal Captor: Memory Chronicle Finale [COMPLETE][RPG][#1 in So Bad It's Good jam '17]

But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], _ticlock_