Drag According To Speed of Swipe

Hi,
Using a previous template, I've gotten my background to move downwards when I swipe down by setting up new attributes. So now when I swipe it goes down the speed I've set it to. But because I'm making a racing game, I want the swipe of the speed to vary. The faster the swipe the faster background moves and the slower the swipe the slower the background goes down. How would I do that. Also another thing which comes second and that's related to this post is that I want my background to gradually slow down, so when the swipe is finished it moves but begins to slow down. Can anyone help?

This is basically my reference to how I got my background to move when I swipe down but it moves constantly and this video doesn't show how to slow down gradually and doesn't consider the swipe of the speed:

This is what I have so far in my background actor that move:
http://postimg.org/image/663eblw9j/

This is what I have for the swipe actor:
http://postimg.org/image/itohijzv5/

Comments

Sign In or Register to comment.