Drag and mark on touch devices

Hello everyone. I'm currently developing a game called 'Word Salad' (sounds funny in english... :rofl:.) You're probably all familiar with it: you have to identify and mark a series of words in the jumbled letters. It works wonderfully on the desktop version - click - drag - mark (look at videoclip). Now I want to implement the same for touch devices. How do I get it so that the letters over which I drag my finger are marked? I tried things like touchmove... doesn´t work for me. I have no idea...

Update... One could perhaps attach an invisible element to the touch point (finger) and perform collision checks to determine which letters are being touched... :thinking:

Replying to myself... :rofl: yeees ... it works. Dragging an invisible element and performing collision checks works pretty good. Here´s a first mockup...

mobile_test.hype.zip (19.3 KB)

1 Like