So my first idea was to create a transform to do this, something like (sorry for the pseudocode)
Code: Select all
transform speak:
zorder +3
zoom 1.2
transform endspeak:
zorder -3
zoom 1
show characterA at speak
charA "this is me speaking! and I'm at front of everybody else now!"
show characterA at endspeak
show characterB at speak
charB "now I'm speaking and ideally, I'd like charA to go back to where they were before."
So what I'm doing right now is
Code: Select all
transform speak:
zoom 1.1
yoffset 50
transform endspeak:
zoom 1
yoffset 0
show charA zorder 3 at speak
ca "Hello! This is me speaking!"
show charA zorder 0 at endspeak
show charB zorder 3 at speak
cb "And now it's my turn to speak and charA has gone back to where they were"
Also, related:
I have a little bounce animation I use sometimes when characters speak
Code: Select all
transform bounce_up:
easeout 0.2 yoffset -30
easein 0.2 yoffset 0
So ideally I'd like something like subtracting 30 to the current yoffset and them adding it back again instead.
Is that possible?
Thanks in advance! :3