I hardly know how the code works, but I think the bullets spawn at a set position according to the weapon used, and aim at an offset from the direction of the crosshair
And the screen scrolling can probably be achieved by either making one big sprite and scrolling the background instead of the player
I'm not a good scratch coder, so that this with a grain of salt