Infinite scrolling tiled background

Get help using Construct 2

Post » Wed Feb 26, 2014 9:28 pm

Hi,

how can I do a infinite scrolling tiled background? I have done some tests but it does not work like expected... It is not infinite and there are blank spaces between the images.

Here is a Demo: http://www.4maggots.com/demo/ (wait a bit to see the problems...)
Here is the .capx: http://www.4maggots.com/demo/demo.capx
B
13
S
3
G
3
Posts: 15
Reputation: 2,600

Post » Wed Feb 26, 2014 10:00 pm

Here is an example from your demo.

I made some changes in the event to simplify it. I commented the changes in events, and mostly moved the scroll manualy done with a bullet behavior.
The problem was the width of 1500 of the background, as you waited until it was completly out of the layout to move it forward.
You do not have the required permissions to view the files attached to this post.
B
17
S
8
G
4
Posts: 473
Reputation: 6,191

Post » Wed Feb 26, 2014 10:26 pm

Thank you so much. This works fine for me.

Is there a posibility to remove the little blank space which is on the "tiledBackground2" ?
B
13
S
3
G
3
Posts: 15
Reputation: 2,600

Post » Wed Feb 26, 2014 10:28 pm

Try to make the background just a little bigger if there is a gap.
If you talk about the white blurry joint though, it's the background side not perfectly looping I think.
B
17
S
8
G
4
Posts: 473
Reputation: 6,191


Return to How do I....?

Who is online

Users browsing this forum: AllanR, BackendFreak, brunopalermo, farsen, ST314 and 28 guests