Right now, I've got a custom transform:
Code: Select all
transform my_dissolve(start, end, duration):
alpha start
linear duration alpha end
Code: Select all
"Some text."
show image_1 at my_dissolve(0, 1, 0.5)
"Some more text."
show image_2 at my_dissolve(0, 1, 0.5)
Furthermore, this custom transform allows the next line of text to be shown WHILE the crossfade happens, rather than after it happens (like if I used a regular dissolve), which I really like.
But, if I try something like this:
Code: Select all
"We've added a 'Jim' tag."
show Jim image_1 at my_dissolve(0, 1, 0.5)
"So now these are both the same type of image."
show Jim image_2 at my_dissolve(0, 1, 0.5)
It's one thing if I'm fading a scene over a scene and they each have distinct tags. But a character sprite will not only share the same tag with alternate expressions of itself, it ALSO has transparency behind it. So, does anyone have an elegant solution for crossfading between expressions that could potentially use my custom transform function above?