This content has been marked as final. Show 4 replies
i'd create a 10x10 sensor movieclip. i'd position 10 rows and 10 columns of these sensors adjacent to one another in an 100x100 shapeDetector movieclip.
i'd then transform the gesture to a 100x100 shape and use the 100 hitTests() with the shapeDetector.sensor movieclips to determine the gesture.
Thanks. It turns out that my ability to translate whatever language that tutorial was written for into Actionscript is not so good! :)
I've actually work that part out – I was incrementing the measurement loop incorrectly so I was going onto the next segment before I should have.
kglad – I'm thinking this approach should give better results, but I'm not sure. The dot product approach presented here takes things like direction into acount and that could be important for whatever it is I want to do. I don't think the hitTest method takes that into account. At this point I'm just trying to experiment and learn.
abeall – I've seen some of Grant Skinner's stuff and I'm just amazed. It always makes me feel like Kathy Griffin: D-list Coder. That one is truly amazing. Someday…
> It always makes me feel like Kathy Griffin: D-list Coder.
Haha, I know the feeling.