How to Change Text Color WITHOUT the {Color} Tag
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.
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.
- Lucy1212
- Regular
- Posts: 39
- Joined: Sat Sep 13, 2014 7:15 pm
- Completed: None, yet
- Projects: The Roses are Covered in Blood, Her Dolls, Where the Wind Travels
- Contact:
How to Change Text Color WITHOUT the {Color} Tag
Like, how do I change the color of all the text? This is probably a stupid question, but I can't seem to find the answer...?
I'm a wordsmith baby~
- yuucie
- Regular
- Posts: 164
- Joined: Sun Jun 22, 2014 4:04 am
- Completed: NaNoReNo[2015] Those Without Names
- Tumblr: an-na-ko
- Location: Toronto, Canada
- Contact:
Re: How to Change Text Color WITHOUT the {Color} Tag
Try adding what_color to your code, like so:
EDIT: Misread. For the entire game text, try adding this to your options.rpy under the default font section:
Just edit the color code to your own and you should be good to go!
Code: Select all
define P = DynamicCharacter("Protag", what_color="912f2f", show_two_window=True)
Code: Select all
style.default.color = "#1800ff"
- Lucy1212
- Regular
- Posts: 39
- Joined: Sat Sep 13, 2014 7:15 pm
- Completed: None, yet
- Projects: The Roses are Covered in Blood, Her Dolls, Where the Wind Travels
- Contact:
Re: How to Change Text Color WITHOUT the {Color} Tag
That works for all the text except dialogue, which was what I really wanted to change. I also tried doing, , which didn't work either.
Code: Select all
style.say_dialogue.color = "#1800ff"
I'm a wordsmith baby~
- yuucie
- Regular
- Posts: 164
- Joined: Sun Jun 22, 2014 4:04 am
- Completed: NaNoReNo[2015] Those Without Names
- Tumblr: an-na-ko
- Location: Toronto, Canada
- Contact:
Re: How to Change Text Color WITHOUT the {Color} Tag
That's odd. It works fine in my test renpy game. Have you tried checking if it's been defined in the say screen (screen.rpy)? The code mentioned in this thread here.
- Donmai
- Eileen-Class Veteran
- Posts: 1962
- 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: How to Change Text Color WITHOUT the {Color} Tag
You can even define a different text color for each character, if you feel like it:
Code: Select all
define d = Character('Dave', color='#FF9933', what_color='#FF9933')
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: How to Change Text Color WITHOUT the {Color} Tag
Worked for me. It changed all my text (also dialogue) to blue.yuucie wrote: For the entire game text, try adding this to your options.rpy under the default font section:
Just edit the color code to your own and you should be good to go!Code: Select all
style.default.color = "#1800ff"
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: How to Change Text Color WITHOUT the {Color} Tag
If you hover over the text and hit shift+I (as in India), Ren'Py will show the style inspector. Click on the text in question, and it'll show a list of styles, letting you figure out where the text color is being set.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Google [Bot]