Help with CTC positioning?
Posted: Thu Oct 22, 2020 6:57 pm
Hey again.
I'm trying to figure out how to have a fixed position for a ctc(click to continue button), but I'm having trouble.
I'm trying to achieve a bouncing effect at the bottom middle of the textbox after the dialogue is finished, so I do not want it nestled, and I was attempting to use an ATL, but I can't get the fixed position to be recognized.
If I removed the
then it defaults to nestled, but with that code there, it places the ctc icon in the top right corner, not adjusting to any changes in the ATL numbers.
I know this is a workaround way of doing this, and I didn't want it to be my final solution since I would need to define the ctc in every characters definition, so if there is a better way to do this please let me know! This was all I could really find on the subject and even it is failing me lol.
Thanks for the help. Another thing! Is there anywhere better for me to ask such simple questions? I don't see a questions/help section in the renpy discord so maybe this is the best place?
I'm trying to figure out how to have a fixed position for a ctc(click to continue button), but I'm having trouble.
I'm trying to achieve a bouncing effect at the bottom middle of the textbox after the dialogue is finished, so I do not want it nestled, and I was attempting to use an ATL, but I can't get the fixed position to be recognized.
Code: Select all
init offset = -2
define narrator = Character(None,
ctc="ctc.png",
ctc_position="fixed",)
image ctc:
"ctc.png",
yalign 0.5 xalign 0.5,
linear 0.5 xalign 0.60,
linear 0.5 xalign 0.5,
repeat
If I removed the
Code: Select all
ctc_position="fixed",)
then it defaults to nestled, but with that code there, it places the ctc icon in the top right corner, not adjusting to any changes in the ATL numbers.
I know this is a workaround way of doing this, and I didn't want it to be my final solution since I would need to define the ctc in every characters definition, so if there is a better way to do this please let me know! This was all I could really find on the subject and even it is failing me lol.
Thanks for the help. Another thing! Is there anywhere better for me to ask such simple questions? I don't see a questions/help section in the renpy discord so maybe this is the best place?