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:
When the custom textbox.png is used:
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.
[Solved] An issue with custom textbox image and hidden input box (custom 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.
[Solved] An issue with custom textbox image and hidden input box (custom name)
Last edited by kavron on Thu Feb 20, 2020 6:46 pm, edited 1 time in total.
-
- 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)
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)
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: I am sorry if I am being daft and thank you again for trying to help.
That's how the code looks like: I am sorry if I am being daft and thank you again for trying to help.
-
- 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)
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)
It works! Thank you so much!
Who is online
Users browsing this forum: Bing [Bot]