How do i move the background in fnf

ive seen people moving the background when the character sings and the background is kinda 3d.i dont have adobe animate but im sure i can find another software to animate it.im also not experienced with scripting too-

what i mean by moving background:https://www.youtube.com/watch?v=ZFUPOrpfg3s&t=398s

you can just use tweening but if you dont know how to use tweens here is a tutorial

1 Like

I don’t really know how to do this, but you can learn a lot about a mod by looking at the assets!

i know it’s kinda late but i think that’s called parallax. and it is possible in wick editor.

so you have multiple “layers” for the background. when the camera moves, the layers that are more behind move slower than the layers in the front. to affect how fast or slow something moves when the camera moves with vcam, the following code in the update script should work:

this.x = project.width / 2 - this.project.pan.x / NEARNESS;
this.y = project.height / 2 - this.project.pan.y / NEARNESS;

the variable you wanna change is NEARNESS. the higher NEARNESS is, the faster the layer moves relative to the camera when the camera moves. if NEARNESS is 1, then the layer is infinitely far away. This can be helpful for simulating the sky, sun, and clouds, which are pretty far away in reality and therefore don’t really move when you look around.

Here is a demo project to show you that this works:
parallax-demo.wick (37.8 KB)

3 Likes

And…Where do you modify that? In Playstate? Witch line?

it’s in the clips as the variable “depth”
and you use the arrow keys to move the camera around

Well, make it a clip, go into timeline, and animate the components you want to move bop up and down (or the motion you want