Crossfading two semi-transparent images
I'm trying to crossfade/dissolve from one semi-transparent image to another without overlaying the image. That's to say, I don't want the alpha channels (or transparencies if you like) to overlap.
I'm trying to get this to work on an OnPointerEnter trigger when a sprite is hovered over.
The effect i'm trying to achieve has been implemented in the Ren'Py visual novel engine - here's a link to the pyhon code "class Dissolve(Transition):" https://gist.github.com/anonymous/18130022bf8001ac08147c6c025892ca
Comment