I have a game which is almost done, it consists of a player(player1) and a few enemies(enemy 1,2,3).
The enemies I’m planning to duplicate using arrays.
So here is the problem, my player has a gun that duplicates a bullet movieclip from a point in the gun, and I want that bullet to stop going after it hits the sandbox(bags).
onClipEvent (enterFrame) {
if (_root.player1.arms[“laser”+laserCounter].hitTest(_root.bags)) {
_root.player1.arms[“laser”+laserCounter].removeMovieClip;
}
}