A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: [as2] Collision Detection

  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Brazil
    Posts
    49

    Lightbulb [as2] Collision Detection

    Hi.
    I´d like to know if somebody have another way of testing collision detection between two complex shapes.
    What I tried was the hitTest between two bitmaps.
    The collision detection sometimes fails, when object "a" is colliding, for example, 3 pixels "inside" object "b".
    Ah, I can´t use GSkinner method, because it asks to mention credits to the programmer, and I can´t mention it.
    Some other method...not that method of empty movieclips along the limits of the shape (circumventing). That method takes too long to develop.

    Any help is appreciated.
    Last edited by marcelozep; 07-16-2010 at 07:09 PM.

  2. #2
    Senior Member
    Join Date
    Apr 2009
    Posts
    117
    http://www.sergemedia.net/ds2/map/lissarafix.html

    shows comparison of polygons collision detection when using a vector or when using a bitmap 8)

  3. #3
    Member
    Join Date
    Sep 2003
    Location
    Brazil
    Posts
    49

    [as2] Collision Detection

    Hey .
    It seems just like a site.
    It doesn´t seems like a tutorial .

  4. #4
    Senior Member
    Join Date
    Apr 2009
    Posts
    117
    it shows how it works, use the script and change it to suit your proj

  5. #5
    Member
    Join Date
    Sep 2003
    Location
    Brazil
    Posts
    49

    [as2] Collision Detection

    How that site could help me?

  6. #6
    Senior Member
    Join Date
    Apr 2009
    Posts
    117
    by reading the scripts it has and it basically shows you how to do it in the script :S my baby sister could get that

  7. #7
    Member
    Join Date
    Sep 2003
    Location
    Brazil
    Posts
    49

    [as2] Collision Detection

    Where there´s script on that site?

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