So I'm using ADV-mode dialogue. I have a bunch of characters created and decided to create a "narrator" like this:
define narrator = Character(name=None, ctc="ctc_blink", ctc_position="fixed")
The "None" part causes the character name box to disappear, which is what I would like to have happen. However, when this does happen in-game, my text box changes it's ypos (xpos seems to look the same) for some reason.
Can anyone help me work out why it's doing this and how to fix it please? Thank you!
(I've attached two screenshots together to show you what I mean)
Hiding character name box causes textbox to shift. [SOLVED]
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.
-
- Newbie
- Posts: 7
- Joined: Wed Oct 05, 2016 8:30 pm
- Contact:
Hiding character name box causes textbox to shift. [SOLVED]
Last edited by TheRavenStag on Sun Apr 16, 2017 10:58 am, edited 1 time in total.
-
- Newbie
- Posts: 7
- Joined: Wed Oct 05, 2016 8:30 pm
- Contact:
Re: Hiding character name box causes textbox to shift. Help?
I'm still having this issue. Bump?
Re: Hiding character name box causes textbox to shift. Help?
try adding window_yalign=0.9 in your character definition
If it doesn't work, please attach your rpy files here so we could find the problem
If it doesn't work, please attach your rpy files here so we could find the problem
My avatar is courtesy of Mellanthe
-
- Newbie
- Posts: 7
- Joined: Wed Oct 05, 2016 8:30 pm
- Contact:
Re: Hiding character name box causes textbox to shift. Help?
Okay that definitely bumps it up (awesome!), it's just off slightly by a few pixels now (dammit!).
What does the align statement do exactly because changing the value doesn't actually appear to change the location for me (I can have it at 1.0, 0.2, the image stays the same), but actually just including it in the definition bumps it up to the location shown in the image below.
What I'm going to do is tweak the ypos of the image while the character text box *is* shown because that's easy to change, especially since it only needs to move a few pixels Thank you!
What does the align statement do exactly because changing the value doesn't actually appear to change the location for me (I can have it at 1.0, 0.2, the image stays the same), but actually just including it in the definition bumps it up to the location shown in the image below.
What I'm going to do is tweak the ypos of the image while the character text box *is* shown because that's easy to change, especially since it only needs to move a few pixels Thank you!