The screen would be something like this:
In the beggining of the game, I let the player choose their name with this code:
Code: Select all
define e = Character("[name]") $ name = renpy.input("What's your name?") $ name = name.strip()
Where it's written "player's name" (in the picture), I wanted the name the player chose to show up like that.
But the problem is: during the quiz, I'll have to jump labels as they answer the questions (because I'll change the background, etc).
Is there a way I could keep the player's name there, even when I jump to another label? Without having to keep writing it again and again in the scrip for each label?
Because I'd have to do it MANY times during the game, and I'm afraid that at some point I may forget.
Then, only when the quiz ends, I'd put a code to make the name disappear.
It is possible?
Thank you, everyone who helps in this forum