Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | orelvis15 | |
Old Version | Published before Godot 3 was released. |
Reply From: | CowThing |
The ParallaxBackground is only updated when a camera is moved. So it requires a camera for it to scroll.
What you can do is have a separate CanvasLayer
node. Then all children of this CanvasLayer wont be affected by the camera’s movement. You could then move or animate the camera however you want, the background will scroll, and everything you added to the CanvasLayer will stay on the screen as normal.
Here is an example: