Hello, guys. I am developing a mobile game for the first time and I`m just starting working with touch object, so I can`t understand some nuances.
I need to make a scrolling layout in Y-axis in the way like mobile browsers do, so I made this:
But there is a problem: when I am holding my Touch, it works OK, but when I finish holding, layout is scrolling to the edge bottom.
Example project: https://drive.google.com/open?id=1_bHrxLATsdDJhg3APklGSwzSil9fdA_y
Develop games in your browser. Powerful, performant & highly capable.
The project you shared is empty.
Your code on the screenshot looks fine. Do you have any other events where you change scrolling, or an object with ScrollTo behavior?
Sorry, it`s a wrong link. Here is right: https://drive.google.com/open?id=1KHFo1Y6kB4RrzuW0kC7muJzYW1gwwRpE
Code looks fine, but works bad.
The project you shared is empty. Your code on the screenshot looks fine. Do you have any other events where you change scrolling, or an object with ScrollTo behavior?
No, there are no other events with scrolling. Sorrym it was wrong link. Check this project, please: https://drive.google.com/open?id=1KHFo1Y6kB4RrzuW0kC7muJzYW1gwwRpE
Sorry, I didn't notice you have "Wait" there. Change your code like this:
Oh, a lot of thanks, you are real Batman in Construct))
Here is a variation of your project https://drive.google.com/open?id=1ev8yPryL1FxnZHMZ3NBLlnVpANObI0Pk
Oh, it`s really cool and works as real browser. It has some inertia, so looks more smoothed. Thank you a lot for doing such a nice job, bibirez!