i need to know how to use hittest heres me code maybe u can help me:
onClipEvent (load) {
if (this.hitTest(_root.goal)) {
gotoAndPlay(2);
}
}
or
onClipEvent (load) {
if (_target.car.hitTest(_root.goal)) {
gotoAndPlay(2);
}
}
i need to know how to use hittest heres me code maybe u can help me:
onClipEvent (load) {
if (this.hitTest(_root.goal)) {
gotoAndPlay(2);
}
}
or
onClipEvent (load) {
if (_target.car.hitTest(_root.goal)) {
gotoAndPlay(2);
}
}
how about a better description?
you probably want to use onClipEvent(enterFrame) as to onLoad, because onLoad will only check the hitTest once when it loads, enterFrame will check every frameā¦
it still aint workin,
see im making a game its a car game and when it goes over the goal it ments to go to a new frame, saying youve won or something but if the opponent goes over it, it goes to another frame saying youve lost
:: Copyright KIRUPA 2024 //--