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 would like to know what this is doing (the numbers).
I know it 'outline' the text with an other color (different from the main one), but I don't know what the parametters are changing.
“He asked me to calm down, close my eyes and be quiet. He explained to me that if I was afraid, the shadow that ran barefoot in the street would feel it. I got scared seeing Jumanji on TV, so let me tell you, we didn't stay hidden for long and had to start running again.”
Jessica's Diary.
Documentation wrote:
outlines - list of tuple of (int, color, int, int)
This is a list of outlines that are drawn behind the text. Each tuple specifies an outline, and outlines are drawn from back to front.
The list contains (size, color, xoffset, yoffset) tuples. Size is the amount the font is expanded by, in pixels. Color is the color of the outline. xoffset and yoffset are the amount the outline is shifted by, in pixels.
The outline functionality can also be used to give drop-shadows to fonts, by specifying a size of 0 and non-zero offsets.
By default, size, xoffset and yoffset are scaled with the text. When given as the absolute type, they are not scaled. For example:
Thank you ! I didn't find it when I was looking for it in Renpy Documentation.
I probably put the wrong key words.
I will try to search it better next time.
“He asked me to calm down, close my eyes and be quiet. He explained to me that if I was afraid, the shadow that ran barefoot in the street would feel it. I got scared seeing Jumanji on TV, so let me tell you, we didn't stay hidden for long and had to start running again.”
Jessica's Diary.