[SOLVED] Change color of name/label in History window

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
User avatar
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

[SOLVED] Change color of name/label in History window

#1 Post by Newnewbie »

Hello,

I'm looking for a way to change the color of the names in my History window, independently from my default name color. Do you guys know a way to do it please?
Last edited by Newnewbie on Sat Jan 11, 2020 2:05 pm, edited 1 time in total.

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Change color of name/label in History window

#2 Post by Per K Grok »

Newnewbie wrote: Sat Jan 11, 2020 1:08 pm Hello,

I'm looking for a way to change the color of the names in my History window, independently from my default name color. Do you guys know a way to do it please?
Open 'screens.rpy'

Find 'screen history():'

Find

Code: Select all

                        ## Take the color of the who text from the Character, if
                        ## set.
                        if "color" in h.who_args:
                            text_color h.who_args["color"]
Put '#' in front of the two last lines.

User avatar
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

Re: Change color of name/label in History window

#3 Post by Newnewbie »

Thank you very much!

Post Reply

Who is online

Users browsing this forum: No registered users