Question

I have a collection of Greek letters in a gesture library and for some reason swiping straight left or right comes up with a pretty good score for mu and iota, neither of which represent horizontal lines. This breaks the idea of my app. I'm currently using a score of 25 or higher to test accuracy of drawing the letters.

Était-ce utile?

La solution

Fixed by adding two gestures. One called "left" and one called "right" and they're shaped like horizontal lines. When predicting the closest gestures, it counts as a failure if left or right have the highest scores.

This prevents users from swiping left or right to draw a complex shape.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top