Hi, I’m new to programing and am trying to build my take on a flappy bird clone, using a tutorial (https://www.youtube.com/watch?v=9f9t9eiCDAA). At 5:13 he implements a code block to cause the floor to scroll. When I implement the same code block my floor spawns off right of screen scrolls on across and resets when it hits the left side of screen. I am trying to get the floor to stay under the Character the whole time, and scroll across endlessly. If I left out any crucial piece to the puzzle please let me know.
I was pretty sure that scroll was not partnered to anything int. I don’t have a ton of code, so I will comb through and see if I can find anywhere that it might be. I will also try your code suggestion and report back!
The $Ground.global_position.x = -scroll code worked great now. I just need to make the length of the ground such that it repeats smoothly! I really appreciate your help!