Search found 3 matches

by william_dickson
Tue Apr 30, 2019 11:48 am
Forum: Ren'Py Questions and Announcements
Topic: how to parse a variable in image text [solved]
Replies: 4
Views: 184

Re: how to parse a variable in image text

The problem is the image is defined once taking the value of name at the time of definition and isn't updated. (Also possibly the order the variable being defined -- have you added a default name = None or something at the beginning?) I'd try ParameterizedText (https://www.renpy.org/doc/html/text.h...
by william_dickson
Tue Apr 23, 2019 2:22 am
Forum: Ren'Py Questions and Announcements
Topic: how to parse a variable in image text [solved]
Replies: 4
Views: 184

Re: how to parse a variable in image text

Nope, \n is a new line, works like a charm, no difference without it though
isobellesophia wrote:
Tue Apr 23, 2019 2:12 am

Code: Select all

image name = Text("Her name is [name]", style="sayText_b26_trf")
show name
perhaps?
by william_dickson
Tue Apr 23, 2019 1:47 am
Forum: Ren'Py Questions and Announcements
Topic: how to parse a variable in image text [solved]
Replies: 4
Views: 184

how to parse a variable in image text [solved]

Hi First question after registration since I can usually find the answer using google (and ending up on a post on here) but not this time. I hope I'm in the right sub-forum, please forgive me if I'm not and please point me to the right one :) python: name = renpy.input(_("What's her name?")) name = ...