Page 1 of 1

Trail effect with drag?

PostPosted: Mon Oct 28, 2013 10:46 pm
by skyhunter93
I'm trying to give a trail effect to the object you are dragging. How would you approach this? attaching another object and position it depending on direction? another better solution?

Something like this:
http://pptheaven.mvps.org/images/snake1.jpg
http://i1.creativecow.net/u/238159/star_trail2.pngskyhunter932013-10-28 22:49:09

Re: Trail effect with drag?

PostPosted: Mon Oct 28, 2013 11:34 pm
by mindfaQ
http://s000.tinyupload.com/index.php?file_id=10013689569482043755

fade + timermindfaQ2013-10-28 23:35:13

Re: Trail effect with drag?

PostPosted: Mon Oct 28, 2013 11:38 pm
by LittleStain
object drag and drop is dragging - object spawn trailsprite at object.x, object.y

give the trailsprite a fade out behaviour.