How do I slow down the scroll screen with touch?

Get help using Construct 2

Post » Mon Nov 09, 2015 9:02 pm

i followed the tutorial to scroll screen with touch but it scrolls way too fast so far my code shows;

on any touch start
- set dragging to 1
- set dragMouseX to touch.AbsoluteX
- set dragMouseY to touch.AbsoluteY

on any touch end
- set dragging to 0
- set dragScrollX to scrollx
- set dragScrollY to scrolly

dragging = 1
- scroll to ((dragScrollX + dragMouseX - touch.AbsoluteX), (dragScrollY + dragMouseY - touch.AbsoluteY))

does anyone know how i can slow down the drag because at the moment it is way too sensitive and flies around the screen.

Thank you
Posts: 54
Reputation: 527

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests