Swipe based Smooth Scrolling with Inertia

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

  • Order by
  • 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.