We're trying to set it up so that the game starts out by asking you what you want your character's name to be. We have it set up to receive text input from the player and store that as a variable, and then define a character whose name is set to that variable.
Here's the code for the user input:
Code: Select all
$ pov = renpy.input("Enter your name, or press Enter to continue.") or "John D."
Code: Select all
define h = Character(pov, color="#58D3F7")
Code: Select all
define pov= 'John D.'
The best I can figure is that Ren'Py is recognizing "define pov" and "$ pov" as different variables since one is a Python script and the other isn't, but the Character definition returns an error if you try to put a Python script in it (putting a $ before pov).
Does anyone know how to use user input to set a Character name?
Also, when displaying dialogue, Character names are shown in bold. This would be fine except that it makes the font we're using hard to read unless it's set unreasonably large. Does anyone know how to make the Character names display without bold?
Any help is greatly appreciated