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.
So I've been trying to figure this out on my own for a while now but I just can't understand what I'm supposed to so. What I'm trying to do is move the namebox because currently it's on top of my dialogue box and blending with my dialogue text. At first I thought I had to change something here in screens.rpy
## The placement of the speaking character's name, relative to the textbox.
## These can be a whole number of pixels from the left or top, or 0.5 to center.
define gui.name_xpos = 440
define gui.name_ypos = 60
Those numbers there are from my own code, so it might show slightly different, but you get the idea.
If you lower the number after gui.name_ypos the name box should move higher on the screen. Default is 0. Set it to -40 or something and see if that changes anything.
sorry to necropost, but I'm having a very similar issue (my namebox is clipping into the text box slightly) and I've tried setting "define gui.name_ypos" to all kinds of values and it doesn't seem to have an affect on anything at all. I've tried small numbers (like -20) and when that didn't work, drastic numbers both negative and positive (like 200/-200) and it doesn't budge a pixel. I'm not really sure what's going on and how to make it move. Is maybe this method outdated and there's some other way to control the namebox now in newer Ren'py?
Example image of what it's doing. Notice, there's a few pixels of overlap there and I want the box to float above the dialogue window, not clip into it.