Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Kinetic scrolling

An asset by VitaZheltyakov
The page banner background of a mountain and forest
Kinetic scrolling hero image

Quick Information

0 ratings
Kinetic scrolling icon image
VitaZheltyakov
Kinetic scrolling

This script extends the ScrollContainer - adds kinetic scrolling and swipe support. It works on PC and mobile devices. The ability to correctly work with objects inside the ScrollContainer is saved. Kinetic scrolling works correctly when using the mouse wheel. The script is very easy to use - just connect it to the ScrollContainer. To work correctly with objects inside the ScrollContainer, you need to check the status of the scroll (variable "swiping"). Watch the demo.

Supported Engine Version
3.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

Godot Kinetic scrolling

This script extends the Godot ScrollContainer - adds kinetic scrolling and swipe support. It works on PC and mobile devices. The ability to correctly work with objects inside the ScrollContainer is saved. Kinetic scrolling works correctly when using the mouse wheel.

How to use?

Just connect ScrollContainer.gd to the ScrollContainer. To work correctly with objects inside the ScrollContainer, you need to check the status of the scroll (variable "swiping"). Watch the demo.

The following settings are available:

  • Scroll Direction - variable determines the direction of the scroll;
  • Kinetic Scroll Time - variable specifies how long it will continue scrolling;
  • Kinetic Scroll Bias - variable determines the kinetic scroll length;
  • Swipe Tolerance - variable determines which offset to consider as a swipe.

Language: GDScript

Screenshots

README Screenshot

License

This script are distributed under the terms of the MIT license.

This script extends the ScrollContainer - adds kinetic scrolling and swipe support. It works on PC and mobile devices. The ability to correctly work with objects inside the ScrollContainer is saved. Kinetic scrolling works correctly when using the mouse wheel.

The script is very easy to use - just connect it to the ScrollContainer. To work correctly with objects inside the ScrollContainer, you need to check the status of the scroll (variable "swiping"). Watch the demo.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Kinetic scrolling icon image
VitaZheltyakov
Kinetic scrolling

This script extends the ScrollContainer - adds kinetic scrolling and swipe support. It works on PC and mobile devices. The ability to correctly work with objects inside the ScrollContainer is saved. Kinetic scrolling works correctly when using the mouse wheel. The script is very easy to use - just connect it to the ScrollContainer. To work correctly with objects inside the ScrollContainer, you need to check the status of the scroll (variable "swiping"). Watch the demo.

Supported Engine Version
3.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers