Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collision Detection- URGENT

Status
Not open for further replies.

thefrail

Programmer
Aug 21, 2001
5
US
Does anyone have the collision detection code (for the detection of collision between to sprites) ???
 
You can detect collision b/w two sprites by using the intersect or within commands.
for example:
you can detect whether sprite 1 has hit sprite 2 or not with the help of following script:
if sprite 1 intersects sprite 2 then
alert "Collision Detected"
end if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top