Matching type with lines

Hi everyone!
I have here a simple matching game which generate lines.
Credits to this forum, I just mash together several templates here to create this.
Kindly suggest or give opinions regarding this simple project. Thanks again everyone!

Line (1.1 MB)


I would suggest removing the refresh timeline as it not really needed. If you call the ConnectDotsGlobal().

In the kHypeGesturePhaseMove . i.e

case hypeDocument.kHypeGesturePhaseMove:
		hypeDocument.functions().ConnectDotsGlobal(hypeDocument, element, event)

This gives you the monitoring for free without the overhead of running that timeline and its continues calls to the function.

The only thing I have not figured out that would make that work in all cases is resetting the line on abort or wrong. But since its your code you probably could figure that last bit out quicker than me ( limited time to look)


very nice :+1:

i wasn't initially clear of what to do (what i'm expected to do) ... though ...


I'm really not that knowledgeable with coding so I find some loop hole to fix it.
I tried what you say but whenever I fix something with the code some error will appear.
So for now I settled for this.

Thanks. I will solve that once I have time again.

Nice to see that you got it working. I will help more on the forum again next week once I have my backlog cleared. One suggestion for you to look into is:

It could be cool for some more dynamic line shapes.


Wow, thanks! I will try to integrate this next time.