| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jan 2001
Location: Los Angeles
Posts: 24
|
Can anyone lend me a hand with collisions, Im trying to have one box disappear when it hits another and Im have problems with it.
thanks |
|
|
|
|
|
#2 |
|
New Member
|
there are severals way to do that
if your boxes are MCs, so use the hittest command like this (example) : box1 and box2 are the 2 MC ______frame1 : if (box1.hitTest(box2)) { box1._visible = false; } ______frame2: gotoAndPlay (1); this is the simplest way. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Collision Detection. | rask | ActionScript 2.0 | 0 | 01-30-2006 09:58 AM |
| Optimizations for Collision Detection | IonRod | ActionScript 2.0 | 0 | 12-24-2005 04:48 AM |
| Collision detection problem | jimboready | ActionScript 2.0 | 3 | 12-11-2005 12:04 PM |
| Collision Detection | sfhazel | ActionScript 1.0 (and below) | 8 | 08-16-2005 10:35 PM |
| clever collision testing | emergency_pants | ActionScript 2.0 | 6 | 04-25-2004 06:43 AM |