Wondering if there is a better way to make a whole layer to scroll in a side scrolling shooter.
Right now I am moving a parallax layer by self.X-8*dt and the player itself with self.X+self.xSpeed*0.1*dt on every tick.
The problem as I see is that I dont move the object layer where the game level difficulties are designed (parallax 100,100) and hence it only moves when the player reaches the center of the screen and so on.
Is there a better way?