Skip to content

When you have to show a lot of items, instead of continuously generating nodes, you only need to change the data with a set node.

License

Notifications You must be signed in to change notification settings

devprog-dev/godot_InfiniteScrollContainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfiniteScrollContainer

When you have to show a lot of items, instead of continuously generating nodes, you only need to change the data with a set node.

In the example, only 10 container objects are created and reused when scrolling.

If you download the project, you don't need to set it up.

*somtimes, you need to set options

*mouse filter option use pass

*Only V Scroll you can change H Scroll. Easy~

*if you want use in mobile, you should change function in the script InfiniteScrollContainer.gd _on_gui_input(event) -> _input(event)

on_gui_input(event) to event.relative is not working well, because scroll container

About

When you have to show a lot of items, instead of continuously generating nodes, you only need to change the data with a set node.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •