How to change the color of font based on a choice

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
gseek
Newbie
Posts: 9
Joined: Thu Mar 07, 2019 8:43 pm
Contact:

How to change the color of font based on a choice

#1 Post by gseek »

So when players reach a bad end I want the text to say Bad End in this color (#c43b3b), I'm a bit new at Ren'py and I understand how to change all the font to one color but I only want this color to appear after the text reads bad end. Is there a way of doing this?

Thanks :oops:

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: How to change the color of font based on a choice

#2 Post by isobellesophia »

I am a friendly user, please respect and have a good day.


Image

Image


gseek
Newbie
Posts: 9
Joined: Thu Mar 07, 2019 8:43 pm
Contact:

Re: How to change the color of font based on a choice

#3 Post by gseek »


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Kocker