Page 1 of 1

Adding Color to Player Input Character Name

Posted: Mon Apr 25, 2011 10:12 am
by m_evergreen
I'm sure this is explained somewhere but I can't find it. This, and several variations of it, does not work:

$ me = renpy.input("My name is ")
$ me = me.strip()
if me == "":
jump start

define m = Character('%(me)s', color="#f66d6d")

What I'm trying to do is let the player choose the name of their character, but still add color to that name.

Re: Adding Color to Player Input Character Name

Posted: Mon Apr 25, 2011 11:56 am
by Alex

Re: Adding Color to Player Input Character Name

Posted: Mon Apr 25, 2011 12:03 pm
by m_evergreen
Yes! That is just what I've been looking for. Thank you, I'm off to give it a try.

Edit: I tried it and it worked, one problem down. Thanks again.