Continuous Multi-image Background

Get help using Construct 2

Post » Wed Feb 26, 2014 5:26 am

Hello fellow Construct 2 users, I was wondering if there is anyway to loop a long sequence of images for my background. The problem is I cannot use a tiled background because the images cannot repeat themselves. Each image needs to lead into the next picture. All together I have about 60+ images (all different) in a specific order that I need to have moving right-to-left on the screen. I'm having trouble finding the best method to get the entire sequence of images to repeat itself in a fluid motion after the last image is in the center of the screen. Following that last image should be the very first image, giving it the illusion that the sequence is continuous.

What's my best bet?
B
3
Posts: 7
Reputation: 189

Post » Wed Feb 26, 2014 5:35 am

You can use the same type of method that is used in the infinite runner templates. You can still use a tiled background for each one, just make them their real size so no repeating. Then you use an array, or dictionary or even a series of variables (maybe just name each background as background1, background2, etc...) then you can just call spawn background + number (increment the number each time in a loop).
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,573


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests

cron