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.
I'm trying to make it so my player can select their own physical traits and be able to recall that later on. I cant find the correct code so that the program brings it back up.
menu skin_color:
"Ligth":
centered "You have selected Ligth"
menu :
"Is this the skin color you want?"
"Yes":
$ skin = "Ligth"
jump special_trait
"No":
jump skin_color
I wanna make it so that when a player selects appearance a text whill come saying " You have (player select) skin color."
label skin_color:
menu:
"Light":
centered "You have selected Ligth"
menu :
"Is this the skin color you want?"
"Yes":
$ skin = "Ligth"
jump special_trait
"No":
jump skin_color
Might I suggest the use of "complexion" instead of "skin color" to avoid potential racial discrepancies?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Imperf3kt wrote:
Might I suggest the use of "complexion" instead of "skin color" to avoid potential racial discrepancies?
Well I really don't care about that at the moment. I'm just trying to make this code work so then I can use it in the future and play with it. Thanks for the advice tough.