I was making a test game to try out ren'py 6.14 and tried to have the character's name input by the user
i used the script in the wiki
Code: Select all
# The phrase in the brackets is the text that the game will display to prompt
# the player to enter the name they've chosen.
$ me = renpy.input("ما هو اسمك؟")
$ me = me.strip()
# The .strip() instruction removes any extra spaces the player
# may have typed by accident.
# If the player can't be bothered to choose a name, then we
# choose a suitable one for them:
if me == "":
$ me="مجهول"
# Now the other characters in the game can greet the player.
w "Pleased to meet you, %(me)s!"
i tried adding show_two_window=True everywhere i could think of, but nothing works.
the screen looks like this with the normal character i defined from the beginning
(still didn't put in any background)
and this is with the inputted name مجهول that doesn't use a separate box for the name
i don't know where else to look D: is there something outdated in the script? Or maybe someplace for me to insert the show_two_window=True to define the character? (renpy gives me an error whenever i try to add it to any of the defining strings)
thank you for your time and effort!