Endless scrolling background using an Array


Currently I’m working on an endless runner game. My problem lies with the background.

What I want to do is to use an array where I can store the backgrounds. When one background is finished scrolling, the next background in the array should appear on screen.

Can anyone help me? or send me in the right direction?

Thank you,


anyone? ^^

I’d love a hint on how to do this as well