drag

This library adds a new type of scrollview widget to the widget.* library under the name widget.newDragItemsScrollView(). The scroll view can then have display objects added to it which can be dragged off the scrollview by either touching and holding or pulling them in a given direction.

Comments, 819 Votes - submitted on 31/12/2016 view repo

I've tried to implement a similar drag effect as seen here: http://www.iforce2d.net/b2dtut/sticky-projectiles

Comments, 372 Votes - submitted on 14/03/2014 view repo