hi all-
i’m making a small shoot 'em up game, and i’ve got 2 classes, alienClass, and heroClass-- the hero fires bullets at the aliens, which hold the hitTest code–ive got it working for a instance, like this:
if(this.hitTest(_level0.photonBullet)){ //
this.imDead(myNum);
alien_anim.gotoAndPlay("killed"); //calls explosion animated MC
}
now, i want to expand my game by having multiple bullets at the same time–my question is if there’s anyway to do a hitTest for all instances of the same MC onstage, or alternatively, what’s the best way to do this? thanx in advance!
regards,
-mojo