- Home /
Best Way to Do a 2d Side Scroller with Infinite ?
Hi i am making a 2d side scroller game.I have done finite game previously but how to do a infinite side scroller.Any help ?
I have gone through some answers and found that we need to instantiate prefabs at run time. So,I have made some prefabs and how should i instantiate so that i can make it as a infinite scroller?
The code and the designs to place one prefab after another in an infinite way has been covered numerous times on this list. In addition, these answers discuss other design issues like whether the player should be moved or the universe. I suggest you do some searches and reading. If you are looking for general design advise, Unity Forums is the place to post the question. If you are having trouble with specifics then Unity Answers is the place.
Answer by haim96 · Mar 06, 2014 at 08:40 AM
just for you:
http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/infinite-runner
Looks Great .Where can get the script files or project files for above sample project ?
that's the bad news, you need to follow and type it by yourself... (or maybe good news, for your code practices?)
by the way, i asked for the code from the instructor when this session was live... that was the answer i got: "type it by your self for you own good..." (not the exact words... :) )
i have a very less speed internet may be i should download and then try to type it. thanks for your help haim96
You can do print screens of the code save to images and then type it. Don't forget to mark the answer that helped you.
Your answer
![](https://koobas.hobune.stream/wayback/20220613135504im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
2D Animation does not start 1 Answer
How To Make 2D Side Scrolling Game 3 Answers
Constraining Physics 3 Answers
Floating Platform with Terrain/Grass 3 Answers