I tried to play with this example: https://github.com/dmccuskey/dmc-dragdrop/tree/master/examples/dmc-dragdrop-basic
Added:
DragMgr:register( dragItem, { dragStart=dragStartHandler, dragEnter=dragEnterHandler, dragOver=dragOverHandler, dragDrop=dragDropHandler, dragExit=dragExitHandler, dragStop=dragStopHandler, })
to make other item target for droping
and
dropTarget:addEventListener( 'touch', dragItemTouchHandler )
to make dropTarget also draggable
So I have now 2 objects, both are draggable and droppable for a few first seconds
Here movie I recorded: https://www.screencast.com/t/oojnOIGbj6PW
Help?