4 Replies Latest reply on Feb 19, 2008 8:01 AM by spyboy1o1

    help with my ping pong game please

    spyboy1o1
      if (this.hitTest(_root["u"])){
      fullspeed=fullspeed*-1;
      }
      else if (this.hitTest(_root["him"])){
      fullspeed=fullspeed*1;
      }

      thats my code for the hit of the paddle you control "u" and and then the pc "him" ive got it so when the ball hits your paddle, it changes direction... but then when it goes back up to "him" it goes goes right through... i made "him" a mc named him, then named it him... but its not working...
      also whats the math for the x direction of it?