The problem with the scene



I made a background for the game, I run it and the background lies exactly along the border of the game, if I add a camera to the player, then for some reason the background goes to the middle, please tell me what to do?

Do you have zoom on the camera?

2 Likes

yes, but even if you remove the zoom, the background still goes into the middle of the scene…


if I just add camera2d, then nothing changes and the problem with the background remains, in this screenshot I deleted camera2d

Can you show your scene-tree?

1 Like

i guess this has something todo with the parallax layer. try to change the resolution or other properties and see if it changes something

Could you tell me what to press and where to look, please… I’m just starting to just

Since you are using Godot 3 i recommend to look at old youtube tutorials on parallax.
The second option is to remove the camera zoom and just change the resolution of your game in the Project settings

but I have it written that “v4.3.stable.official [77dcf97d8]”

it says godot-3 in the tags. If you are on godot 4 you can try to use the Parallax2D node instead