ah, that’s a good idea. that would be hella more efficient than using proximity.
Would it be? Because it would involve all the points checking at the same time (via onMouseMove would be best here) instead of 1 point checking from a list in an array.
I am not too wise with efficient coding, so I don’t know which is better.
naw, it’s just a simple:
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
//do yo thang
}
Yeah, but imagine if 50 points were on the stage.
Thats 50 onMouseMove actions running at once checking the hitTest. Is that still more efficient?
yeah, i tested it with a bunch of icons that were randomly distributed over the movie. i used that method above for the click and drag.
Nice, so when I get to that I will see if I can add little invisible circles as a hit radius for a snap to. Thanks for testing it