ForumsProgramming ForumHow to make a perfect hitTest in as2?

33 14319
Oseb
offline
Oseb
29 posts
20

Hi everybody!
Im working on a game, but when i make a hitTest its not work perfectly (stops before reach the object). I use this code:

onClipEvent (enterFrame) {
if (_root.MC1.hitTest(this)) {
_root.MC1._y-= 5;
}
}

Any idea how to make it? Please explain it please.

  • 33 Replies
Showing 46-45 of 33