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:
fade + timer
Develop games in your browser. Powerful, performant & highly capable.
object drag and drop is dragging - object spawn trailsprite at object.x, object.y
give the trailsprite a fade out behaviour.