Making the Mouse Leave a Trail
canis2012
Member Posts: 2
I'm making a game that will involve a lot of swiping movement. To make it look nicer, I want to add a trail that follows the user's swipes.
I guess I'm going for something like the white trail left in Fruit Ninja after swiping on the screen.
Answers
@Armelline i believe has what you're looking for.
Fortuna Infortuna Forti Una
@Lovejoy Where can I find that?
I would make two actors. One called "trailController" and an actor called "trail".
Tell the actor that when,
touch is inside/ Touch is outside
Constrain attribute self.position X to Touch X
Constrain attribute self.position Y to Touch Y
Timer, Every .01
Spawn "trail"
You can then tell trail to destroy itself after so many seconds.