3 Replies Latest reply on Oct 18, 2009 6:32 AM by Ned Murphy

    on hitest make score go up?

    xrox2 Level 1

      Well i have an actionscript that will make my bullet touch the enemy it will go to a different frame can someone help me alter this so the enemy will dissapear when they touch and also the score goes up by one?????

      onClipEvent (enterFrame) {
          if (this.hitTest(_root.Enemy)) {
              _root.gotoAndPlay(2);
          }
      }

       

       

      Thanks,

      Xrox2