hello, im having an issue with the custom box where it doesnt show the name of a character after the player inputs it, i tried the code on a tester plain gui and it worked, so im not sure how to solve this?
Viewing post in Visual Novel GUI Pack001 (Black&White #1) comments
Maybe you can try this code:
Before label start:
define pn = Character("[player_name]")
After label stat:
python:
player_name = renpy.input("What is your name?", length=32)
player_name = player_name.strip()
if not player_name:
player_name = "Alice"
It will look like this:
My code used here:define e = Character('NingNing', color="#ffffff")
define pn = Character("[player_name]", color="#88b2c2")
label start:
scene bg
python:
player_name = renpy.input("What is your name?", length=32)
player_name = player_name.strip()
if not player_name:
player_name = "Alice"
e "Hello, [player_name]!"
pn "Hello "
----------------------------------------
If you made your own name box, by default the name should still appear in the upper left corner
Example:
If you still can't see the character's name, you can try to adjust the position of the namebox.I hope this helps you ( ˙▿˙ )