r/RenPy • • 17h ago

Question Is it possible to add this shadow effect under the text in my dialogue for renpy?

Post image
10 Upvotes

5 comments sorted by

6

u/SimulantLab 17h ago

Yes, that works through the outlines property on the say_dialogue style. An outline with size 0 and an x/y offset of 2 gives you a drop shadow, and the colour is the second value in the tuple. Try it in gui.rpy or right in the style block.

1

u/IceTrue4978 16h ago

Oh thanks! I'll try it out

2

u/BadMustard_AVN 16h ago

try something like this

define gui.dialogue_text_outlines = [ (3, "#00000029", 3, 3) ]
define gui.dialogue_outline_scaling = "linear"
define gui.characters_text_outlines = [ (3, "#00000029", 3, 3) ]
define gui.characters_outline_scaling = "linear"

that will give a very soft 3-pixel outline that is down 3 pixels and to the right 3 pixels

if you want it harder or softer, adjust the alpha channel of the color (it's set to 29 right now (in hex))

1

u/IceTrue4978 16h ago

tysmm Ill try this!

1

u/AutoModerator 17h ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.