At 11/13/08 08:56 PM, Headshot777 wrote:
At 11/13/08 08:49 PM, CrustySheet wrote:
if(_x>Stage.width || _x<0 || _y<0 || _y>Stage.height|| (this.hitTest(_root.ast))){
//If off-stage, delete the dupe to save CPU
this.removeMovieClip();
}
I can see how that would work, but it doesn't...
??
do you understand the code??
its saying if the bullet is off of the stage OR it hits the enemy Remove the bullet
i had trouble once i cant remember how i fixed it i think i mayhave done
removeMovieClip(this);
not sure