How do I get a page scroll up and down with touch

Just started using Construct 2? Post your questions here

Post » Mon Jul 31, 2017 6:17 pm

please help me to build my app can scroll with touch
B
3
Posts: 4
Reputation: 188

Post » Tue Aug 01, 2017 10:03 am

Hey there,

This tut may be helpful to you: https://www.scirra.com/tutorials/560/sw ... th-inertia
B
71
S
41
G
24
Posts: 356
Reputation: 18,464

Post » Fri Aug 25, 2017 6:13 pm

thank you very much.
it's help me so much
B
3
Posts: 4
Reputation: 188

Post » Sat Aug 26, 2017 12:20 am

I'm glad it was helpful! Happy Constructing!
B
71
S
41
G
24
Posts: 356
Reputation: 18,464

Post » Tue Nov 14, 2017 4:41 pm

do you know how can do it contrariwise ???????
B
3
Posts: 4
Reputation: 188

Post » Tue Nov 14, 2017 9:10 pm

salar1996 wrote:do you know how can do it contrariwise ???????


Just change the sign on lines 3 and 4:

Code: Select all
line 3:
TouchFollowMe | Set X to lerp(self.X,self.X-self.DiffX,0.35)

Line 4:
TouchFollowMe | Set Y to lerp(self.Y,self.Y-self.DiffY,0.35)
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
21
S
6
G
3
Posts: 664
Reputation: 3,855


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest