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:
  2. Clicks this month:
  3. Overall rating:

Flash » Game Development — over 11 years ago
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?


Your Comment

You must be logged in to post a comment.