A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: collide codes

  1. #1
    Member
    Join Date
    Jun 2001
    Posts
    35
    Hi,

    I've seen tutorials about collision codes and it seems so confusing what does collision codes do and what's in it for it to work?

  2. #2
    Senior Member
    Join Date
    Mar 2001
    Posts
    123
    They are for many different things. Like if you are making a game you can use the collision code to detect if someone shot you or you crashed into something. Stuff like that.

  3. #3
    I'm Buff
    Join Date
    Nov 2000
    Location
    Melbourne
    Posts
    433
    hitTest can be very simple, it is a way of checking if two movie clips have come in contact with each other, ie collided. it's great for arcade games when you need ships to be destroyed when hit by a laser. ther is also another way of checking if two movieclips are in contact with each other - _droptarget

    hitTest can be fairly simple to use, there are some good tutorials on flashkit, download the files provided and pull em apart. you'll work it out

  4. #4
    curmudgeon swampy's Avatar
    Join Date
    Jan 2001
    Location
    [wakey]
    Posts
    2,775
    heres another one I made earlier:
    http://www.92degrees.co.uk/downloads/hittest.fla


  5. #5
    Member
    Join Date
    Jun 2001
    Posts
    35
    Thanks

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