ALWAYS outlining text

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
AustinYQM
Newbie
Posts: 2
Joined: Sun Oct 19, 2014 3:31 pm
Contact:

ALWAYS outlining text

#1 Post by AustinYQM »

I have a character who is an angel. I want their text to always bee outlined in a soft glow. Is it possible to do this in the "define z = Character('Angel', color="#00FF00")" area?

I found http://www.renpy.org/doc/html/style_pro ... properties but I don't actually understand how to use it since there aren't any examples and I am not bright.

User avatar
Googaboga
Eileen-Class Veteran
Posts: 1395
Joined: Wed Dec 12, 2012 1:37 pm
Completed: https://gbpatch.itch.io/
Projects: Floret Bond, XOXO Blood Droplets, Our Life
Organization: GB Patch Games
Tumblr: gb-patch
itch: gbpatch
Contact:

Re: ALWAYS outlining text

#2 Post by Googaboga »

I believe what_color="#ffffff" is what you use to determine the color of the text when a character speaks.

And what_outlines=[(1, "#000000", 1, 1)] is what you use to add an outline to the what the character says.

So like this:

Code: Select all

define j = Character('Joe', what_color="#00FF00", what_outlines=[(1, "#ffffff", 1, 1)])
I don't know how to make the outline look like a glow effect though.
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices

AustinYQM
Newbie
Posts: 2
Joined: Sun Oct 19, 2014 3:31 pm
Contact:

Re: ALWAYS outlining text

#3 Post by AustinYQM »

Thanks. I was trying "what_outlines=(1, "#ffffff", 1, 1) and that was causing problems. adding the [] around it fixed that!

Do make it look like a glow I used a very light almost-white yellow and made the font itself a little more grey then white.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: ALWAYS outlining text

#4 Post by PyTom »

You could also use several outlines to make it glow:

Code: Select all

what_outlines=[ (3, "#ffc4", 0, 0), (2, "#ffc4", 0, 0), (1, "#ffc4", 0, 0) ]
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users