Page 1 of 1

Automated Transforms

Posted: Thu Aug 19, 2021 1:10 am
by Elliot Dreemurr
i have these 2 transforms here and i would like 2 know how i could possibly have them function automatically when a character speaks and stops speaking so that i dont have 2 input "show (character) at (transform)" every time during a conversation between characters

Code: Select all

transform active(x=640):
    xcenter x yoffset 0 zoom 0.95 alpha 0.50 yanchor 1.0 ypos 1.03
    easein .25 alpha 1.00 zoom 1.00

transform inactive(x=640):
    xcenter x yoffset 0 zoom 1.00 alpha 1.00 yanchor 1.0 ypos 1.03
    easein .25 alpha 0.50 zoom 0.95

Re: Automated Transforms

Posted: Fri Aug 20, 2021 1:18 am
by emz911
You might want to look into character callback: https://www.renpy.org/doc/html/characte ... -callbacks
Something similar for your reference: viewtopic.php?t=61319