So I have paralaxing working on all my levels, but today I just learned about “Lerp”. When I went to apply it to all of the layers, I lost my paralaxing effect that I had.
Coding before
Change the X position of the camera (layer: “bg”): Set to Player.X()*0.75
Coding after
Change the X position of the camera (layer: “bg”): Set to lerp(CameraX(), Player.X()*0.75, 0.08)
When I changed it, the lerping works, but now all layers are fixed to the same scroll rate, does anyone know how to keep the paralaxing while having the “lerp” work?