ForumsProgramming ForumHow to make a perfect hitTest in as2?

32 29978
Oseb
offline
Oseb
29 posts
Nomad

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.

  • 32 Replies
Showing 31-30 of 32