1 Reply Latest reply on Jun 25, 2006 11:03 AM by Newsgroup_User

    collisions

    onlyproductions
      I have a game with a side scrolling ship that shoots duplicated stuff and duplicated enemies scrolling towards the caracter but for some reason I cant test collision bettween the objects. how would I do this?
        • 1. Re: collisions
          Level 7
          onlyproductions,

          > I have a game

          You "have" a game, or you "made" a game?

          > with a side scrolling ship that shoots duplicated stuff

          Whoa ... "duplicated stuff"? Need some detail, here. ;)

          > and duplicated enemies scrolling towards the
          > caracter but for some reason I cant test collision
          > bettween the objects. how would I do this?

          There are a number of ways to test for collisions. One of the most
          basic (and least accurate, but at least it's simple) is the
          MovieClip.hitTest() method. Have you done any experiments with that?


          David
          stiller (at) quip (dot) net
          Dev essays: http://www.quip.net/blog/
          "Luck is the residue of good design."