Page 6 of 6

Re: Resetting animations within a live composite

Posted: Fri Dec 30, 2016 12:46 am
by Arowana
Hi xela, thanks for the quick response! To clarify, I do want the animation to reset on most interactions, such as when the user clicks to advance the text or when a certain button is clicked. I just don't want interactions with tooltips and hotkeys (mostly the former) to reset the animation prematurely.

Do you know if there's a straightforward way to distinguish between these cases? I could create an additional variable that is modified differently by the tooltips vs. character callbacks/screens, but that seems overly convoluted. :lol:

Re: Resetting animations within a live composite

Posted: Fri Dec 30, 2016 5:38 am
by xela
Arowana wrote:Do you know if there's a straightforward way to distinguish between these cases? I could create an additional variable that is modified differently by the tooltips vs. character callbacks/screens, but that seems overly convoluted. :lol:
I don't think you need variables for that at all, you can use the class exactly what it was written for, conditions were added on Onishions request and you don't really need them here (but they will not get in a way either).

Basically, you instantiate the displayable class and add callback to characters that would call .change() method instead of changing a variable. We're doing a similar thing to add a cute emotional overlay over character portraits in the say window and it is working really well.

Re: Resetting animations within a live composite

Posted: Fri Dec 30, 2016 7:07 pm
by Arowana
Thanks xela, that works a lot better for what I'm doing. Coincidentally, I'm using it for cute emotional overlays (sweatdrop, etc.) too!