Scrolling gameplay like old arcade game 'Defender'.

Hi all, I’ve had an idea for a game based on the old arcade game ‘Defender’(but with a cow). The problem i’m having is the repeat scrolling of the scene( not sure how to word it, you need to have played it to know what i mean), The idea of looping didn’t work the way i hoped. Does anyone know how i could achieve this ?