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.
Hi! I am very new to ren'py. I searched, but I can't find anything about how to do this - I'm sorry if I missed something!
What I want to do is when the player makes a certain choice, have that choice affect what color their chosen name displays in for the rest of the game, but I can't figure out how. I've experimented with some ways that seemed plausible, but all of them broke everything. (I tried to use a variable as a hex code and the variable being declared in the choices, and to re-declare the name alias but with a different color in each choice, and I think something else but I've forgotten what.)
How can I do this? (Is it actually possible to do this?)
Alright, I created this in a script and it worked fine. I #'ed out your variables when I was testing, since I didn't know what purpose they served (so check them out yourself)- but this should be copy-pasteable right into your game.