You get scrap by killing enemies. They drop a scrap part wich flies torwards you and fills up your meter when you collect it. I should have made it more clear. And for the damage: Your damage decreases when you add more bullets.
ah, thank you!
I got confused at first by the scrap flying towards the ship, since I thought it was enemy bullets haha