Page 1 of 1

[Solved] An issue with custom textbox image and hidden input box (custom name)

Posted: Wed Feb 19, 2020 8:09 pm
by kavron
Hello, I'm a new Ren'Py user.

Three days ago I've encountered a strange problem while using the input code for allowing the player to type their name. The script works fine when the default textbox.png (in GUI folder) is used, but as soon as I change it to my custom textbox.png, the written text disappears. I am still able to type the name, it just doesn't show on-screen and after hitting enter the dialogue displays the chosen name as usual. I've tried different images with the same result as above, I've checked the script on several new projects, tried loading different custom images in various order, everything I could think of.

When the default textbox.png is used:
default textbox used.jpg
When the custom textbox.png is used:
custom textbox used.jpg
I am sorry if it's a stupid question, I've googled it and looked through the help and cookbook sections of this forum and the wiki page and I wasn't able to find a solution.

I'd greatly appreciate any help.

Re: An issue with custom textbox image and hidden input box (custom name)

Posted: Thu Feb 20, 2020 9:19 am
by DragoonHP
Okay. So what's happening is that the textbox colour and the text colour are the same. Edit the screen input

Code: Select all

text prompt style "input_prompt" color "#ffffff"

Re: An issue with custom textbox image and hidden input box (custom name)

Posted: Thu Feb 20, 2020 11:30 am
by kavron
Thank you, but it doesn't seem to work either. When I change the color, the "what do you call yourself?" text changes but the text that's supposed to show up underneath remains invisible.

That's how the code looks like:
screens.rpy.jpg
I am sorry if I am being daft and thank you again for trying to help.

Re: An issue with custom textbox image and hidden input box (custom name)

Posted: Thu Feb 20, 2020 5:26 pm
by DragoonHP
Oh. My mistake. Please put the colour "#ffffff" in the input line

Re: An issue with custom textbox image and hidden input box (custom name)

Posted: Thu Feb 20, 2020 5:54 pm
by kavron
It works! Thank you so much!