(SOLVED) Using Screen wrap behaviour for looping background

I’m making a title screen for my game, and I’m trying to make a looping sky background. It’s a sprite with the screen wrap behaviour.


192 is half the width of the screen (384 px).

I set it to move to the right at 100 pixels per second,


and I added a second background outside the screen, in order to create a seamless loop.

They loop seamlessly, but there’s a tiny space in between the two backgrounds when running the game.

How do I resolve this?

Why use a standard sprite? What you’re trying to achieve is better suited to a tiled sprite and continuously adjust its x-offset to achieve the scrolling.

1 Like

Use tile sprite instead and just change its offset on X axis

1 Like