playMaker

Author Topic: Is there a way to swap sprites?  (Read 1668 times)

ptrlo

  • Playmaker Newbie
  • *
  • Posts: 31
Is there a way to swap sprites?
« on: October 09, 2014, 07:48:09 PM »
Also, to blend the swap? Gradually transition from one sprite to another?

TheBadFeeling

  • Junior Playmaker
  • **
  • Posts: 66
Re: Is there a way to swap sprites?
« Reply #1 on: October 10, 2014, 12:23:56 PM »
PlayMaker has no swap sprites actions at the moment, but collidernyc wrote one that does the trick nicely http://hutonggames.com/playmakerforum/index.php?topic=7797.0

I think with unity's sprites it's either one or another, so crossfading is probably out of the question -- but how about you just spawn the other sprite in the same coordinate and fade it in?
The Force is with you, young Playmaker – but you are not a C# senpai yet.