Thanks for taking the time to reply both of you - its been really helpful,
So I absouloutely want a background that scrolls with a parallax effect
For instance I want my far cave walls (my first ‘area’ is set in a cave) to move at probably around 0.6 speed of the player, while I want my plants to move at 1.2 times the speed of the player (theyr in front of the floor and therefore closer to the camera).
I definitely do not want a static background!
From watching Team Cherry’s dev logs and other videos, I discovered that they used a 3D camera on a 3D plane instead of 2D.
At first I thought that this was just unity being a 3D engine, but then I discovered that by using a perspective camera and placing multiple backdrop pngs further and closer, a 3D parallax effect can be achieved. However, when a png is placed further from the camera on the z axis, it automatically gets smaller. By rescaling the png to fit its original size, the parallax slower moving effect remains, the sizing is correct and all of the image can be shown.
I was unsure of this at first - I set up a 3D perspective camera with a camera at z = 10 looking towards coordinates 0,0,0 and then placed my PNG art files at different places (my plants at z = 5, my ground, walls and ceiling at z = 0 and some background chains at z = -10). I then rescaled these all until they were their original sizes and by panning in the 3D editor they did indeed move perfectly with a parallax effect at their painted scale.
To me that was preferable to any 2D camera effect - the whole image was shown AND the parallax effect remained.
But im pretty new to all this stuff, and when I tried to put this onto a 2D game plane using a subviewport and subviewport container (i later tried a texturerect as well) I was unable to get it all to work properly and I have no idea why.
I also tried using canvas layers (like in this video: 2.5D parallax effect in GODOT 2D engine. Similar to the background parallax in Hollow knight!)
with just normal 2D planes, and sure I got it working quickly but scales got mixed up and changed.
Apologies for the long reply, and thank you for taking the time to read this and being patient.
If I were to upload screenshots of what I was trying to do would this help at all?
thanks!