0 Replies Latest reply on Jan 25, 2007 1:08 PM by -=TH3_CRIMSON=-

    ACTION SCRIPT  (PACMAN)

    -=TH3_CRIMSON=-
      hi,

      im making a flash game which follow the basic concept of pacman, i have key control movements, and the moving mouth etc etc. but i have no idea how to do the action scripting to make it ''eat'' the little balls

      i have some idea that it is to do with the hit test
      i have this script which says about mouse hit tests :

      on(press){
      StartDrag("",true);
      }
      on (release){
      stopDrag();
      if(this.hitTest(_root.eatman)){
      setProperty(_root.choc,_visible,false);
      }
      }

      but i need one so when 1 movie ( pacman ) hits another movie ( the pellet) it ' ' disappears''


      Thanks,

      -=TH3 CRIMSON=-