AS3 Welding

This is a special bit of code I set up for the game Dave Overload, it initialises some lines allowing them to be ‘welded’. The user clicks and drags the mouse over a line until a threshold is reached then makes the line (or crack) disapear.

Download zip