Problems with Text Tag Outlines (Not Supported)

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
SelLi
Miko-Class Veteran
Posts: 550
Joined: Fri Apr 27, 2012 4:49 pm
Completed: The Silent Column
Projects: Ethereal Overflow
Deviantart: SelLillianna
itch: SelLillianna
Location: Canada
Contact:

Problems with Text Tag Outlines (Not Supported)

#1 Post by SelLi »

Hello everybody, I was wondering if it would be possible to apply outlines to text via text tags.

I've tried the following code:

Code: Select all

init:
    $ style.UL = Style(style.default)
    $ style.UL.outlines = [(1, "#000", 0, 0)]
    $ style.UL.color = "#f00"
And then later, in game...

Code: Select all

"{=UL}\"Well, sort of...\"{/=UL} He confesses."
And though the color does change with the tag and I get no errors, the outline isn't applying. This seems like another one of those simple problems, but I don't know what to do. Can somebody help me, please?

Thank you very much. ^^
Last edited by SelLi on Mon Jul 13, 2015 9:25 pm, edited 1 time in total.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Problems with Text Tag Outlines

#2 Post by nyaatrap »

It's out of support looking at the doc http://www.renpy.org/doc/html/text.html#style-text-tags

User avatar
SelLi
Miko-Class Veteran
Posts: 550
Joined: Fri Apr 27, 2012 4:49 pm
Completed: The Silent Column
Projects: Ethereal Overflow
Deviantart: SelLillianna
itch: SelLillianna
Location: Canada
Contact:

Re: Problems with Text Tag Outlines

#3 Post by SelLi »

nyaatrap wrote:It's out of support looking at the doc http://www.renpy.org/doc/html/text.html#style-text-tags
I see, that's good to know. Thanks for your help.

User avatar
Tayruu
Regular
Posts: 141
Joined: Sat Jul 05, 2014 7:57 pm

Re: Problems with Text Tag Outlines (Not Supported)

#4 Post by Tayruu »

That's... weird. I mean, I can apply text outline in general to an element, but it does seem to be that text tags don't accept outline values.

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: Problems with Text Tag Outlines (Not Supported)

#5 Post by PyTom »

The reason is that drawing outlines requires the text to be drawn multiple times, on multiple layers. If text tags supported outlines, it would be hard to determine how many layers to draw. (I'm using layers in the photoshop sense here, not the Ren'Py sense.)
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: Google [Bot]