- Home /
Question by
pujanparikh2209 · Jun 02, 2019 at 07:39 AM ·
mousetrajectorycomparetrailshapes
Compare mouse trail/trajectory to given shape
I want the user to draw a given shape (Eg: square), and award points based on how accurately it is drawn. Eg: if the user draws a rectangle instead, he gets half the points, and circle fetches 0 points, etc. Any way for me to compare mouse trail/trajectory to shapes like that?
Comment
Your answer
Follow this Question
Related Questions
Mouse position to Isometric Grid Tile number 1 Answer
aiming with animation 1 Answer
make an object glow when mouse over 3 Answers
Bullets follow mouse after shooting in Sidescroller 1 Answer