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!
I would suggest removing the refresh timeline as it not really needed. If you call the ConnectDotsGlobal().
In the kHypeGesturePhaseMove . i.e
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)