A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [problem] hitTest

  1. #1
    Senior Member TheLostGuru's Avatar
    Join Date
    Aug 2004
    Location
    I live on this webpage...
    Posts
    784

    [problem] hitTest

    I am currently working on a game in which you control a turret on the ground and shoot at planes that drop bombs. Fairly simple. I have done all of this, but for some reason I am not using hitTest right. I have used it before, so I hope I'm not just making a dumb mistake. If someone would please help me out, I would gladly send them the fla to see if they can fix my problem.
    "If I have seen further it is by standing on the shoulders of giants." Isaac Newton
    ------------------------------------------------------------------------------

  2. #2
    smile for the camera! jesserules's Avatar
    Join Date
    Dec 2004
    Location
    a dark place where people have trouble in flash
    Posts
    720
    dude, you JUST posted this.
    My site
    The Current Project is RoboRace.
    Screens Public Beta Coming Soon!

  3. #3
    Senior Member TheLostGuru's Avatar
    Join Date
    Aug 2004
    Location
    I live on this webpage...
    Posts
    784
    um... actually I deleted the old one and started fresh.
    "If I have seen further it is by standing on the shoulders of giants." Isaac Newton
    ------------------------------------------------------------------------------

  4. #4
    Script kiddie VENGEANCE MX's Avatar
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,590
    I can't see a hitTest anywhere in that fla.
    http://www.birchlabs.co.uk/
    You know you want to.

  5. #5
    Senior Member TheLostGuru's Avatar
    Join Date
    Aug 2004
    Location
    I live on this webpage...
    Posts
    784
    in the library in the aircraft MC.
    "If I have seen further it is by standing on the shoulders of giants." Isaac Newton
    ------------------------------------------------------------------------------

  6. #6
    Sorry. I dont totally understand what container is but I tried. One thing I found was that in the aircraft MC you were hitTesting against "bullet" but the bullets are actually named "bullet_". Forgot the underslash. I'm not sure how your engine works but I tweaked it so that the hitTest works now (But now nothing else works! ). Hope it helps!
    Attached Files Attached Files
    oro!?

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