I am having trouble installing/downloading Cory's CollisionDetectionKit. It comes with folders nestled within folders with three .as
files at the end. Where should I put these files/ the folders?
Put the com
folder in the same directory as your .fla
and in your code, at the top, use import
to import the files:
import com.coreyoneil.collision.*;
Looking at the files, it looks as you can now call functions like:
CDK.addItem(), CDK.removeItem(), CollisionGroup.checkCollisions(), CollisionList.swapTarget(target), CollisionList.checkCollisions(), etc.