Then this makes the bowling ball machine gun: i=i+50;
if(equal(i%5000, 0), destroy(z));
if(equal(i%100, 0), assign(z, create("bowlball", 0, 350, 150, -35)));
Note: Set the number of objects on screen to low enough that there is not a backup, and put some type of gravity behind the buddy to cause the bowling balls to hit him
Note: Not my codes, I modified them from somone else, its a bowling ball machine gun This restrains the buddy
to a single location:
resetForces();
addConstraint("body", getX("body"), getY("body"), 0));
addConstraint("lArm", getX("lArm"), getY("lArm"), 0));
addConstraint("rArm", getX("rArm"), getY("rArm"), 0));
addConstraint("lLeg", getX("lLeg"), getY("lLeg"), 0));
addConstraint("rLeg", getX("rLeg"), getY("rLeg"), 0));
addConstraint("head", getX("head"), getY("head"), 0));
Swing Single Cut :)
http://www.king.com/games/splitter/viewer.jsp?w=11022353170391
BTW my rocks single cut i accidently cut a bit off of one but it does not impact the rolling in any way (accidently used a second cut)