I was just thinking of this. I'm gonna try moving every object some jump to the left when the player gets past a certain x-value and then destroy the terrain when it's outside the layout. I'll tell you if it works out.
Update:
Eeh... Not the easiest thing in the world. I think some infinite runner games move the platforms, not the player character. Imma maybe try that.