How would you create a 2D endless runner with objects moving in the background?
I wish to create a game where the player, in 2D, must dodge objects, or barriers, by swiping the screen, and I want to make the game work indefinitely such that when the player dies, they could perhaps watch an advertisement to revive.
As I said, the player must dodge barriers moving left and right or up and down as they go. How would I go about building such a game?
I would have the player move endlessly through the level, but I'm unsure how to go about building the features to dodge. That is, I can build the level up only for so long, but I want it to be endless. In other words, if I was to have the player navigate through, how would I make the level endless, and how would I continue to instantiate the barriers?
Thanks you for the help.
Your answer
Follow this Question
Related Questions
how to move a gameobject based on a dice roll 1 Answer
Set One GameObject Inactive If Another GameObject Is Active? 1 Answer
How do I to know on which GameObject I clicked? 0 Answers
After Rotating a Prefab, Transform.Position of children is inaccurate 1 Answer
A 2D Character Controller with Rigidbody2D.AddForce 2 Answers