Cross fade between sprite images?

Hi all,

I was wondering if there was any good way of switching between sprite images like a cross fade of sorts?

Thanks,

Chris [import]uid: 126017 topic_id: 29752 reply_id: 329752[/import]

Hi Chris,
I think this would require 2 sprites positioned directly atop each other… one being the original sprite, which you’d fade out, concurrently fading the new one in from alpha 0. After the transitions completed, you could reassign the old one to a holder variable (or just delete it) and then assign the new sprite to the “current” reference you use. Basically, just a swapping routine.

If the transition occurs while the sprite is moving, it gets a lot more complicated, but it could still be done in theory.

Brent
[import]uid: 9747 topic_id: 29752 reply_id: 119412[/import]