Use the arrow keys to set your angle and speed. Then, press space to fire!
I used a book named coding games: in Scratch.