Level editor!

Click 'Add ball' or 'Add ball' to add balls, and drag the balls to a new place. Right-click on a ball to delete it. Double click on a ball to reset its radius (and weight, if it is a normal ball). Click '# Lines' to change the line limit for your level.

Click 'Try level' to try out your level. Click the button 'back to editor' below the game to return to the editor mode. Click 'Get code!' to the code will appear below. Happy with your level? Give me the code.

Return to the game

Code for your level:

level = {balls: [[400,200,20,1]], badballs : [[400,300,20,1]],linelimit:1}

Enter code for a level to play: