Listscroll-gdevelop
October 27, 2022 ยท View on GitHub
Simple extension to create a scrollable list of items
List scroll
Simple extension to create a scrollable list of items
Setup the list
- Use 1 Sprite for the
ListArea, add to this sprite theDraggablebehavior . - Use 1 Sprite for the
MaskArea. - Use 2 Sprites
Up button,Down button. - Use 1 Panel Sprite ("9-patch") for the
Slider button, and addDraggablebehavior to this Sprite. - Use 1 Panel Sprite ("9-patch") for the
Slider background bar.
Setup the list items as you need.
- Use 1 Sprite for the
ItemButtonadd to this Sprite the behaviorPinTo. - Use 1 Sprite for the
ItemIconadd to this Sprite the behaviorPinTo. - Use 1 Text for the
ItemTitleadd to this Sprite the behaviorPinTo. - Use 1 Text for the
ItemDescriptionadd to this Sprite the behaviorPinTo.
See here how to add PinTo behavior to the Sprites.

In GDevelop - Scene editor
Scene setup add add 2 Sprites the listArea and the MaskArea
Depending on the ListArea position the UpButton, DownButton, SliderButton and SliderBackground will be created.
- You end with something like this, the
white spriteis theMaskArea. - The
lightblueis theListArea

In GDevelop - Events editor
- Add an empty event select the
ListAreaSprite and look forList Scrollthen selectInit List Scroll

- Then add another action just below the previous and set the
Masked itemsgo toOthe actionsand setList Scroll -> Masked Items

- You end with comething like this:

See full documentation here:
- Source & Documentation https://github.com/UlisesFreitas/Listscroll-gdevelop
- Video Tutorial https://www.youtube.com/watch?v=7p3FD8WvYX4