Use arrow keys to move, and your mouse will move your target. Press space to fire magic, if you kill all the slime the door will open.