please help me to build my app can scroll with touch
Develop games in your browser. Powerful, performant & highly capable.
Hey there,
This tut may be helpful to you: https://www.scirra.com/tutorials/560/sw ... th-inertia
thank you very much.
it's help me so much
I'm glad it was helpful! Happy Constructing!
do you know how can do it contrariwise ???????
Just change the sign on lines 3 and 4:
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) [/code:2n29f7g7]