Libgdx smooth horizontal scroll images -


i have below setup purchasing items in game:

enter image description here

as can see, if have more 3 items user should able scroll see next item. far, have tried use actor's event touchdrag. there glitch during interaction, won't scroll until finger reach left side of each image.. guys have other solution ?

you can use scrollpane actor, has functionality need , can create own ui elements it. add table buttons, widgets , other actors , handle scrolling you.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -