Are you asking about the name as it's displayed on this character selection screen, while it's being edited? Those colors are set here, specifically the "hover_color" and "color" fields:
Based on your screenshot, though, it looks like you may be asking about the name as it's displayed once you start your game? You can set custom colors for character's names when defining a character, using "who_color". Here's a link that explains more:
This might be a stupid question but how do I move the inputted text? (making game that's 4:3 resolution, hence i have to move the stuff in the screen around) The click-to-input spot works (it's right around the center of the box) but the text is to the right of that spot for some reason
The location of the inputted text is set here in the button definition, but im not 100% sure if that's the issue.
Do you have any other code in your project modifying the styling of text buttons? They look like they might be centered, which is affecting the positioning. Try adding 'xalign 0.0' to the end of the line with all the button's details, that should set it to left align which should make it easier to fit it into place.
If this helps let me know, otherwise I can try a few more things to figure it out.
← Return to tool
Comments
Log in with itch.io to leave a comment.
No such thing as stupid questions!
Are you asking about the name as it's displayed on this character selection screen, while it's being edited? Those colors are set here, specifically the "hover_color" and "color" fields:
Based on your screenshot, though, it looks like you may be asking about the name as it's displayed once you start your game? You can set custom colors for character's names when defining a character, using "who_color". Here's a link that explains more:
https://www.renpy.org/doc/html/dialogue.html#defining-character-objects
So for instance, you could define the player with the following, and set whatever color you wanted.
Let me know if this helps, if I misunderstood or you need more information.
YO WAIT THIS WORKED THANK YOU
This might be a stupid question but how do I move the inputted text? (making game that's 4:3 resolution, hence i have to move the stuff in the screen around) The click-to-input spot works (it's right around the center of the box) but the text is to the right of that spot for some reason
The location of the inputted text is set here in the button definition, but im not 100% sure if that's the issue.
Do you have any other code in your project modifying the styling of text buttons? They look like they might be centered, which is affecting the positioning. Try adding 'xalign 0.0' to the end of the line with all the button's details, that should set it to left align which should make it easier to fit it into place.
If this helps let me know, otherwise I can try a few more things to figure it out.
Setting the xalign to 0.0 seems to have slightly fixed it (the text is actually in the box now)
I'll play around with the xalign and such and I'll hopefully find something that works for sure but at least I know what to mess with now. Thanks!