1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Flash: Using Hit Tests & hitTestObject | AS3 Flash Games for Beginners

  1. Clicks today:
    0
  2. Clicks this month:
    1
  3. Overall rating:
    4.00/5

Flash » Game Development — almost 9 years ago
Thumbnail
Hit tests simply are a check to see if two objects are touching one another. There’s plenty of ways of doing them and every shooter game needs them. AS2 had a nice little function called hitTest, AS3 has two functions…. hitTestPoint and hitTestObject. So what’s new about this hitTestPoint and hitTestObject and which one do you use?

Comments

Your Comment

You must be logged in to post a comment.