Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top