I’m working on a game similar to the Red Baron, which you can find on newgrounds. Anyways, I have already made a few beta games like a few platformers. But for the game I am currently making, I need to be able to detect a movie clip inside of another movie clip. The movie clip I’m trying to detect is a sword, and that only shows up when you’re attacking. I think my problem is movie clip navigation, so can someone please help me?
This is what I tried putting under an enemy mc, just to see if it will even detect the sword.:
onClipEvent(enterFrame) {
if(this.hitTest(_root.guy.sword)) {
trace(“hit”);
}
}