
Welcome Guest
|
#1
|
|||
|
|||
|
collision detection 1 movie hit 2 help
HI ALL
i am doing a penalty shoot out game and i am struglin' with collision detection. CAN ANY 1 HELP what i am after is if 1 movie hits two different movies at the same time do an action THE 3 MOVIES b = ball (ball_mc) g= goal (goal_mc) k= keeper (keeper_mc) this is my code for the ball to collide with goal area ball_mc.goal = function() { if (this.hitTest(_root.goal_mc)) { score goal this works but i now want to say if b hits g and k do action its the ball colliding into goal area and then hitting the keeper DO AN ACTION IF BOTH ARE HIT, is there a way to do this any help will be superb! cheers
|
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ Collision Detection ]: Directions | Zentu | General Flash | 1 | 10-13-2006 08:02 AM |
| Need help on a collision detection link, and movie clips | ValveFire | Game Programming |
8 | 08-07-2005 12:45 PM |
| HIT TEST collision offsets | MadJohn | Flash MX |
1 | 02-17-2005 08:34 PM |
| Frame Independent Collision Detection | Canstein33 | Flash MX ActionScript |
2 | 04-18-2003 06:10 PM |
| preloading | plankd | Newbies |
4 | 08-25-2000 11:15 AM |





