Search found 4 matches

by Exlicor
Mon Mar 11, 2019 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Player name not showing up for text
Replies: 7
Views: 593

Re: Player name not showing up for text

Try defining your character's name at the beginning, like this: define p = Character("[player]") label start: python: player = renpy.input("What's your name?", default = "Bob") player = player.strip() if not player: player = "Bob" p "My name is [player]....
by Exlicor
Sun Mar 10, 2019 12:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Player name not showing up for text
Replies: 7
Views: 593

Re: $ Not showing character name/speech?

I think this is what you're trying to do maybe? "I've been thinking about changing my name." $ player_name = renpy.input("What is your name?").strip() or "Boy" player_name "My name is, [player_name]!" I put in this code, but I still don't know how to get that...
by Exlicor
Sun Mar 10, 2019 7:58 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Player name not showing up for text
Replies: 7
Views: 593

Re: $ Not showing character name/speech?

You cannot name a character $ $ is used to indicate the line is Python and not Ren'Py. Just use their string name, their variable reference or nothing, just not $ "Eileen" "Hello World" # ok e "Hello World" # ok (if you have done the 'define e = Character(....)' bit) &...
by Exlicor
Sun Mar 10, 2019 6:57 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Player name not showing up for text
Replies: 7
Views: 593

[SOLVED] Player name not showing up for text

So I'm just making a test game, so I can practice on writing working code. But I ran into a problem that just doesn't solve itself. "Pleased to meet you, %(player_name)s!" $ "God damn it where's my sprite cranberry?" show trav "???" "looking for this?" (what_c...