scroll after release the touch

Get help using Construct 2

Post » Wed Nov 04, 2015 11:26 am

hi
i want to scroll my screen with touch
so i see panning example
it is nice
but after i release the touch the scrolling is stop
but in most games after you release the touch, screen still scrolling and it will stop in few second (depends on speed) like clash of clans and ...
so how do i do that ?
what need to be changed in zooming example ?
Last edited by mahdi71 on Wed Nov 04, 2015 2:52 pm, edited 1 time in total.
B
17
S
6
Posts: 245
Reputation: 1,784

Post » Wed Nov 04, 2015 11:29 am

What does zooming have to do with panning?
Image ImageImage
B
173
S
50
G
194
Posts: 8,566
Reputation: 121,368

Post » Wed Nov 04, 2015 11:59 am

newt wrote:What does zooming have to do with panning?

lock at zooming example in construct 2
you can pann in that
B
17
S
6
Posts: 245
Reputation: 1,784

Post » Wed Nov 04, 2015 5:33 pm

I see, they put it with the pann template.

What you want is something made for much larger layouts.
Image ImageImage
B
173
S
50
G
194
Posts: 8,566
Reputation: 121,368


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests