A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] hitTestObject problem.

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Posts
    4

    [CS3] hitTestObject problem.

    I'm making a racing game and I wanna track who reaches the goal first. I'm using
    a MouseEvent.CLICK function on the character you control in the game and the character you race against have an built in .x += 10 ENTER_FRAME event. The problem is that hitTestObject only react if I'm clicking when the enemy passes the finishline.. Any ideas on how to fix this?

  2. #2
    talk to the hand! Never_land:('s Avatar
    Join Date
    Nov 2007
    Location
    your mother's bedroom
    Posts
    490
    use hitTestPoint, is the hittest of as3

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