Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Endless Sidescroller HELP :(

Discussion in '2D' started by Mucmab11, Mar 19, 2015.

  1. Mucmab11

    Mucmab11

    Joined:
    Mar 19, 2015
    Posts:
    3
    Hi,

    i want to make a type of flappy bird (just for learning purposes^^) and now i am stuck. i dont know how to spawn the pipes randomly and make them move towards the player... Quick info: the player stays at his x position and only moves on the y axis. only the pipes should move from right to left..

    Thanks for your help!
     
  2. GarBenjamin

    GarBenjamin

    Joined:
    Dec 26, 2013
    Posts:
    7,441
    Hello and welcome to the Unity Forums!

    Your goal will be easy to reach after you learn the following:

    GameObjects
    http://docs.unity3d.com/Manual/GameObjects.html
    http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/gameobjects

    Prefabs
    http://unity3d.com/learn/tutorials/modules/beginner/editor/prefabs-concept-usage

    Sprites
    https://unity3d.com/learn/tutorials/modules/beginner/2d/sprite-type

    2D Colliders
    https://unity3d.com/learn/tutorials/modules/beginner/2d/collider2d

    Collison Events
    http://docs.unity3d.com/ScriptReference/Collider.OnCollisionEnter.html

    Random Number Generation
    http://docs.unity3d.com/ScriptReference/Random.Range.html

    Good luck and after you have had a chance to cover the materials listed above and have started experimenting with GameObjects, Sprites and so forth feel free to ask for help with specific questions for problems you are running into.
     
    theANMATOR2b likes this.
  3. Mucmab11

    Mucmab11

    Joined:
    Mar 19, 2015
    Posts:
    3
    Thanks :)