I am curious how to move a Paper 2d Background?
I am trying to create an endless vertical jumping game, I am looking to move the background using VInterp, but so far not having any luck. Is there a different function to move the background sprite images in Paper 2d?
I have added a projectile movement component to the background. Then create a variable such as projectile speed and expose it to be editable. You can then change the projectile speed in the level blueprint whenever you want.
Thanks, I have tried this, but my background kept disappearing. How do you extend the projectile so it does not get automatically deleted immediately in the world space?
Also, I would need to re-spawn the background, not sure if I can do this in the level blueprint.
Yes you can respawn it. Setup a basic,>target point .
You can spawn actor from class and get actor transform of that target point.
I believe your projecttile is deleted because in the world you are too close to 0,0,0
Try lifting the entire world up a few hundred units (it is a bug)
once created a blueprint actor class using the background sprite as a component.
In the event graph, just move the sprite component’s world position.
I had an array of background sprites and would move them in one direction. Once one background reached a certain location, I would reset that background.
We use panner within paper2d material to achieve background scrolling in our 2d runner. But you need seamless texture to do it.