I want to make it to where obstacles will randomly appear and the level continues forever. (Also, I don’t know how to upload the project to show you, so if you want to see it tell me how to upload it.)
There’s gazillions tutorials on it. You will find them searching for “Endless Runner”
Unity even has a free tutorial on it.
Making the level continue forever is actually the easy part. You’ll find ramping up the difficulty forever to be what is hard. Good luck
thanks, I will let you know if it works. BUT… will the tutorial show me how to randomly create obstacles? Like subway surfers??
I suggest you hire somebody to view the tutorial for you and let you know.
If you encounter scripting errors, please do hurry back and post here, which is what this forum is about.
How to report your problem productively in the Unity3D forums:
If you want to make the simplest demo of an endless game, make this game:
-
put a 2D character onscreen, let him move anywhere onscreen
-
zero out a timer, start counting it up every frame for your score
-
spawn rocks above him and let them fall, clearing them when they fall off the bottom screen
-
make the player die if a rock falls on him.
-
increase the rock gravity steadily over time.
-
spawn those rocks at ever-faster rates until you get hit.
VOILA! Instant demo of an endless game. Your score is the timer.