A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Hit Test AS3

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    2

    Hit Test AS3

    Hello,

    I want to make a battle system, i can walk, shoot,
    and the 'bullet' disappears after a few secs.
    So, what i need is a HitTest for AS3 but i cant figure out how this works,
    can anyone tell me how to do this in AS3?

    Thanks in Advance,

    Wouter

  2. #2
    Flactionscrish Baby Minion's Avatar
    Join Date
    Nov 2005
    Location
    Planet Earth
    Posts
    312
    http://help.adobe.com/en_US/AS3LCR/F...0.0/index.html

    under methods check hitTestObject.

    Hope that helps
    ktu[k-two]
    he who hesitates is lost; so i guess i'll wander intently

    Are you sure this is real?
    Life is Love, Love is Blind, Blind we go through Life.
    Life isn't hard, dealing with your self is.

    The concept of life in a human brain is weakening day after day. Live every day like its your last. Take the chances, and opportunities, and never let authority push you around for fun.


  3. #3
    Junior Member
    Join Date
    Dec 2008
    Posts
    2
    hey, i couldn't find it there, could you be some more specific? or maybe send the direct link

  4. #4
    Flactionscrish Baby Minion's Avatar
    Join Date
    Nov 2005
    Location
    Planet Earth
    Posts
    312
    sorry about that... this is the right page


    http://help.adobe.com/en_US/AS3LCR/F...layObject.html

    It is a method called hitTestObject()
    ktu[k-two]
    he who hesitates is lost; so i guess i'll wander intently

    Are you sure this is real?
    Life is Love, Love is Blind, Blind we go through Life.
    Life isn't hard, dealing with your self is.

    The concept of life in a human brain is weakening day after day. Live every day like its your last. Take the chances, and opportunities, and never let authority push you around for fun.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center