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.
Adding Color to Player Input Character Name
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 6
- Joined: Tue Jun 05, 2007 8:19 am
- Contact:
-
- Newbie
- Posts: 6
- Joined: Tue Jun 05, 2007 8:19 am
- Contact:
Re: Adding Color to Player Input Character Name
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.
Edit: I tried it and it worked, one problem down. Thanks again.
Who is online
Users browsing this forum: Andredron