Smoothed Dragging the Screen

  • 7 favourites

Stats

446 visits, 593 views

Translations

This tutorial hasn't been translated.

Tools

This is a simple addition to Predbite's dragging tutorial that adds smoothed drag.

Instead of sending the position of the scroll the calculations of (dragscrollx + dragmousex - touch.absolutelY), etc., it passed it to a variable for the camera position (x_campos, y_campos), and uses a lerp to smooth the movement to the camera position.

  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!