So I am working on a simple side-scrolling,dodge game where the player moves through the level(s) dodging objects coming at them. Visually, the game will feel like Flappy Bird, where the camera isn't focused on the player, but instead continuously moving on its own through the level and the player is having to keep up and not fall behind/not hit anything.
I have tried looking up documentation/tutorials/forums to see if anyone else has done something like this, but most google results are talking about the camera following the player, instead of the other way around. I have thought of maybe having a parallax background that repeats for the duration of the level and having the camera tied to that, or writing a camera2d script that moves the camera automatically to either the left or the right and the player has to move independently of it. So if the camera stops, and the players falls behind, they will fail the level.
I am still very new to Godot, so I'm still trying to get familiar with all the nodes and when and how to use them. Any help will be appreciated.