Changing the renpy.input message color?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
gaoldart
Regular
Posts: 36
Joined: Wed Jul 06, 2011 11:23 am
Projects: Tony T (Writer, programmer)
Location: Under your chair >8D
Contact:

Changing the renpy.input message color?

#1 Post by gaoldart »

Well, I have this problem...

I attached below the window I am using for my game, and the only problem I seem to have it's the fact that the message that appears when I use renpy.input is white.

Code: Select all

    $ playername = renpy.input ("My name...")
Anything you input looks fine, but the part where it says "My name" can't be seen, I have tried tampering with many things on the options.rpy file but none seem to change that particular thing.

Is there any way to change that specific thing?, and with that said, is there any way to change the input's color?
Attachments
ventana.jpg
(5.12 KiB) Not downloaded yet
Bashing my head against the computer desk while programming since march 2011, and so far no brain damashii nanananananananana katamari damashii

User avatar
Alex
Lemma-Class Veteran
Posts: 3098
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Changing the renpy.input message color?

#2 Post by Alex »

You can add the color right into input screen

Code: Select all

screen input:

    window:
        has vbox

        text prompt color "c00"
        input id "input"

User avatar
saguaro
Miko-Class Veteran
Posts: 560
Joined: Sun Feb 12, 2012 9:17 am
Completed: Locked-In, Sunrise, The Censor
Organization: Lucky Special Games
itch: saguarofoo
Location: USA
Contact:

Re: Changing the renpy.input message color?

#3 Post by saguaro »

Try the color text tag.

http://www.renpy.org/doc/html/text.html ... -text-tags

edit: or use Alex's method--beat me to it!

gaoldart
Regular
Posts: 36
Joined: Wed Jul 06, 2011 11:23 am
Projects: Tony T (Writer, programmer)
Location: Under your chair >8D
Contact:

Re: Changing the renpy.input message color?

#4 Post by gaoldart »

Sorry for the late answer
It worked perfectly!!!, thanks to both of you
Bashing my head against the computer desk while programming since march 2011, and so far no brain damashii nanananananananana katamari damashii

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]