[SOLVED]How to create a infinity background, really!

Hi, I’m creating a platform game, and at some point, the game will switch to a “side shooter”, and I wanted to implement a permanent, infinite background scroll. I tried to follow the tutorial I found, but although the background moves, it doesn’t get infinite, it just reaches the end of the background object and disappears to the left. I’m sending the image below with the scroll code part marked in yellow. And the tutorial I followed is old, I couldn’t find another one that has the most up-to-date codes: https://youtu.be/cvTOnRKljdM

Please excuse me, I got a tutorial that works!

1 Like