Page 1 of 1
How to outline interface text?
Posted: Sat Dec 19, 2020 8:25 am
by NEOTH1X_
Hi! I'm a beginner when it comes to Ren'py, and at the moment I want to outline the GUI interface text but I can't figure out how. Is it possible and if so, how do you code it? (I want to make the main menu text to #d474ae)
Re: How to outline interface text?
Posted: Sat Dec 19, 2020 1:09 pm
by gas
Reach the screens.rpy file, not the GUI file.
Find this line:
Code: Select all
style gui_text:
properties gui.text_properties("interface")
Now add any other property you want.
For outlining it should be:
Code: Select all
style gui_text:
properties gui.text_properties("interface")
outlines [(2,"#d474ae",0,0)]
Save the script, relaunch the game, it should work.
Re: How to outline interface text?
Posted: Sat Dec 19, 2020 11:30 pm
by NEOTH1X_
gas wrote: ↑Sat Dec 19, 2020 1:09 pm
Code: Select all
style gui_text:
properties gui.text_properties("interface")
outlines [(2,"#d474ae",0,0)]
It works! Thank you!