Arrow keys to rotate the water gun and move the mouse to move the water gun. (Yes I'm calling it a water gun so scratch doesnt take this down)
The fire isn't great but I think that the shell animation and pellets work really well. You can take the code or sprites just please credit me. I might make a full game with this but this is just a simple test.