Use you mouse for movement and space to shoot. Shoot the enemy ships and don't let them get past you.
All of the coding by me. The side to side momentum was tough. Please tell me if i should add anything. Here is a project i made based off of this: https://scratch.mit.edu/projects/1146699070