Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Yatheesh-Raju390 · Mar 06, 2014 at 08:25 AM · 2dterrainside-scrolling

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?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robertbu · Mar 06, 2014 at 08:32 AM 0
Share

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.

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

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

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Yatheesh-Raju390 · Mar 06, 2014 at 12:17 PM 0
Share

Looks Great .Where can get the script files or project files for above sample project ?

avatar image haim96 · Mar 06, 2014 at 12:28 PM 0
Share

that's the bad news, you need to follow and type it by yourself... (or maybe good news, for your code practices?)

avatar image haim96 · Mar 06, 2014 at 12:31 PM 0
Share

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... :) )

avatar image Yatheesh-Raju390 · Mar 06, 2014 at 02:11 PM 0
Share

i have a very less speed internet may be i should download and then try to type it. thanks for your help haim96

avatar image haim96 · Mar 06, 2014 at 02:34 PM 0
Share

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.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Assets/Scripts/PlayerController.cs(32,49): error CS0126: An object of a type convertible to `float' is required for the return statement 1 Answer

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges