1 Reply Latest reply on Sep 15, 2008 11:31 PM by kglad

    hitTest

    Malborojones
      Can somebody explain to me how to use hitTest() to make a boundary for a game,
      E.g. If there was a ball and it had _y speed of 1 creating "gravity", the ball then falls,
      I would like help to stop the ball once it gets to the bottom of the stage and from escaping through
      the left, right and top of the stage so that it is confined to move only within the stage.
      I don't know weather I need to use hitTest() or other scripting, I can't find any tutorial anywhere else on the web!
      Any help is greatly appreciated, thank you.