Swipe based Smooth Scrolling with Inertia

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • this works well on mobile for me, but the swiping feels like its the opposite way around.

    thanks for the great script! really helped :)

    • Thank you for checking out the tutorial!

      Changing the scroll Direction: By adding or subtracting ‘self.DiffX’ to ‘self.X’ (and self.DiffY to self.Y), you can change the direction of the scroll depending on your game needs.