#ParallaxBackground in 2D is not infinite

1 messages · Page 1 of 1 (latest)

clever flower
#

Hi, i'm new to godot. I'm following this tutorial about a 2d sidescroller with parallax background https://www.youtube.com/watch?v=A4aiO6G3hFI&list=PLWTXKdBN8RZdvd3bbCC4mg2kHo3NNnBz7&index=8
Unfortunately, the background is not repeating as expected in the video and stops after the first one or two. See attached video. I'm running godot 4.2.2 on a mac m1 with macos 14.6

Thanks for the help in advance,
Ben

Part 8 - This tutorial will teach you how to create a parallax background for your game level. The parallax background will have two separate parallax layers: a background and a foreground sprite 2D, which will move using a different motion scale. This tutorial will help you get started with creating a 2D platform game using the Godot game eng...

▶ Play video
#

ParallaxBackground in 2D is not infinite

clever flower
#

I think i found it, not fully understanding but is has something to do with the camera2D not aligned with the viewport. Compared to the given tutorial i have now the problem that the background y value is not fixed to the tilemaps y value as you can see in the new attached video.