Arrow keys to move. Space or E to pick things up. If you get a gun use the mouse to aim and click to shoot.
I used @MathMathMath's scrolling tutorial. Inspired by @Gligar's game (If you would like to see a much better game go here: https://scratch.mit.edu/projects/213323996/ ).