Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
hey i want to make scrolling layer with inertia .
i found a post https://www.construct.net/en/forum/construct-2/how-do-i-18/scroll-layout-inertia-123308
i was very helpful but capx file give in this post is only work with C2 runtime not with C3 runtime .
Anyone know how how i will get same result in c3 runtime.
here the capx file link from post https://www.dropbox.com/s/wmxnfqjlo3an0h6/usingTouchSpeed.capx?dl=0
thanks in Advanced :D
Change all touch.SpeedForID(0) to touch.SpeedAt(0) and touch.AngleForID(0) to touch.AngleAt(0)
then it should work.
Thanks Man its working
i want to limit the scrolling
eg: size of layout is 1080*4000
but i want to scrolling work only in 1080*3000 layout size
You have to restrict the scroll position with clamp.
Make a new event:
+ System: Every tick
-> System: Set scroll Y to clamp(ScrollY,0,3000)
Develop games in your browser. Powerful, performant & highly capable.