Page 1 of 1

How to remove text outline for specific texts?

Posted: Fri May 14, 2021 9:17 am
by Yuvan raj
Hello, I have outlines for the texts in my VN using the code:

Code: Select all

define gui.text_outlines = [ (2,"#000000",0,0) ]
But I want to remove the text outline for some texts which I'm using in a screen. This below is my screen code:

Code: Select all

    
screen statusbuttons():    
    vbox:

        xalign 0.907
        yalign 0.64

        text "Money"

        text "Energy"

        text "Fighting Skill"

        text "Intelligence"

        text "Charm"
        
This is the screenshot of the VN.
Image
I don't want outlines for these texts in the screen. How should I go about accomplishing that? Your help will be very much appreciated. Thank you!

Re: How to remove text outline for specific texts?

Posted: Sat May 15, 2021 7:15 pm
by Fynmorph
Well you can define a style for text without outlines.

Code: Select all

style naked:
	outlines [ (absolute(0), "#000", absolute(0), absolute(0)) ]
and when you need to, you apply it to text you dont want outlines on.

text "putaaain" style "naked"

or you do the opposite (create a style that adds outlines, and only put that style on texts you want outlines)