- Home /
How would you create a vertical endless runner with lerping barriers where the player translates on oblique vectors in C#?
I have a player as a gameobject, which translates up and to the right or up and to the left dependent upon the direction in which the user swipes the screen. Throughout, there are certain barriers, lerping in and out of the screen on the x-axis, which the user has to dodge.
How do I make it such that the level is endless? I was thinking of having the background translate down, but I want to add lerping barriers, and I'm unsure how to implement such a translation with the rest of the gameobjects to dodge.
Thank you for any help.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Shrinking an Object 1 Answer
Spawning game Object after a period of time 2 Answers
Multiple Cars not working 1 Answer
How can I LERP the X position to the X position of the player 2 Answers