#need help with camera2d
24 messages · Page 1 of 1 (latest)
it moves the player and enmey a bit to the left, as you can see in the video my player was above a platform but when i ran the scene it moved it to the left, and the camera is only connected to the player node so why and how is it changing the position of enemy ?
it think it might be because the objects are on a parallax layer
those move depending on the camera position
ohhh okaaay wait
i changed the objects type to node2d from parallax layer, seems like half of the problem is solved, thanks:)), but now it seems tp shif the bg down on the y axis ? and also i can't scroll the platforms anymore, :"
is it set to current?
yesss
huh i dunno then
maybe change the type of the root node?
the Level_1 node
make a normal node not parallaxbackground or whatever it is
ohh okay , wait a sec
i can't do it, it messes up the background totally, i need plx layer for bg and for that i need plx bg, i tried to put everything under a new node2d but that changed nothing
you can make the parallax background a child of the root node instead of the root node
i tried making it a child of node2d, with node2d as a root node, it didn't change anyhing
Okay 😰
it's alright, my brain is melted for today, i'll leave it for now😭