Use the arrow keys or WASD to walk around, use the mouse to aim and shoot. Press the number keys to select the associated weapon when you've picked it up.
Click to place an arrow pointing upwards, click again to turn it. Puppets will follow the arrows, get them all to the portal. When puppets hit a wall they will always turn right.