Font stroke/outline?

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
MisterHarold
Regular
Posts: 51
Joined: Tue Jul 17, 2018 10:32 am
Location: Philippines
Contact:

Font stroke/outline?

#1 Post by MisterHarold »

Hello. I would like to ask how you can put an outline or stroke on your font. If the default font color is white, I want my outline to be a different color. How?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Font stroke/outline?

#2 Post by isobellesophia »

bump
Last edited by isobellesophia on Fri Apr 26, 2019 2:48 am, edited 1 time in total.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Font stroke/outline?

#3 Post by isobellesophia »

MisterHarold wrote: Fri Apr 26, 2019 2:39 am Hello. I would like to ask how you can put an outline or stroke on your font. If the default font color is white, I want my outline to be a different color. How?

Code: Select all

define p = Character("Player", color="#000000", who_outlines=[ (1, "#FF00FF") ], what_outlines=[ (1, "#FFFFFF") ])
The color, who_outlines, the character. what_outlines, the speaker or narration. just change their colors in hex color.

Here is the link of color codes.

https://www.renpy.org/wiki/renpy/doc/co ... olor_names
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Font stroke/outline?

#4 Post by Donmai »

The text styles documentation is here (although it may not be very useful without examples):
https://www.renpy.org/doc/html/style_pr ... properties
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]