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

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
User avatar
kavron
Newbie
Posts: 5
Joined: Wed Feb 19, 2020 7:32 pm
Contact:

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

#1 Post 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.
Last edited by kavron on Thu Feb 20, 2020 6:46 pm, edited 1 time in total.

DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

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

#2 Post 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"

User avatar
kavron
Newbie
Posts: 5
Joined: Wed Feb 19, 2020 7:32 pm
Contact:

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

#3 Post 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.

DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

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

#4 Post by DragoonHP »

Oh. My mistake. Please put the colour "#ffffff" in the input line

User avatar
kavron
Newbie
Posts: 5
Joined: Wed Feb 19, 2020 7:32 pm
Contact:

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

#5 Post by kavron »

It works! Thank you so much!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Dark79, Google [Bot]