Hi,
Ive got an MC that, when you click, it fires a shot at your mouse, this is what ive got
onClipEvent (load) {
_root.shot._visible = false;
shotCounter = 0;
maxshots = 1;
depthCounter = 1;
}
onClipEvent (mouseDown) {
if ((shotCounter<=maxshots)) {
shotCounter++;
_root.shot.duplicateMovieClip("shot"+depthCounter,depthCounter);
_root["shot"+depthCounter]._visible = true;
depthCounter++;
}
}
I want my shot to remove itself when it hits another MC, but this MC reproduces itself
(this is the frame code for this MC)
x++;
score=1+x;
duplicateMovieClip(rock, "rock"+x, x);
It would be great to get some help for the hitTest here! Thanks!