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.
I have a point in my game where I want to outline a few specific lines of text, and I'm having a lot of trouble figuring out how to do that. I've seen instructions for how to make all text outlined by default, or make a specific character's name and/or dialogue outlined, but nothing for just outlining one little bit one time. And I don't think I can just define a character with outlined dialogue to say these lines, since at this point I'm actually showing a bunch of text outside of the normal dialogue box like this:
Right, I knew there was something important I forgot to mention! Yes, that doesn't seem to work for some reason and I have no idea why. I don't get an error message or anything, but the outlines don't show up. It's also occurred to me that it might be possible that the other modifications I'm making to the text are interfering with that - including the attempt at outlines, I have a bunch of tags around it right now like this:
(It's because I have a bunch of different lines showing up at different places in the screen at this point to simulate a bunch of people talking at once, and I want to really highlight a few of them and make them stand out from the rest.) The other three tags all work perfectly but I don't see the outline.
Testing: with outline in dialogue style, without, and with an invisible outline.
It seems that the outline colour tag only affects text if there's already defined outline styles for that text. You can however give your dialogue an invisible outline style, eg. outlines [(2, "#0000", 1, 1), (2, "#0000", 0, 0)]. I also tested to see if you could create a style tag and use that, but it just made the text itself red - style tags only support certain styles.
Tayruu wrote: ↑Tue Aug 06, 2019 11:23 pm
You can however give your dialogue an invisible outline style, eg. outlines [(2, "#0000", 1, 1), (2, "#0000", 0, 0)].
Okay, thank you - I think I understand how it works a bit better now. So where would you put that outline code in order to apply it to a certain line?
Update: in case anyone else stumbles across this thread with the same question, I get it now! I just first had to set the default style of text to have an invisible outline, which I did by adding this to options.rpy: