Search Unity

2D Basic Player Controls

Discussion in '2D' started by Borilliamzar, Apr 22, 2017.

  1. Borilliamzar

    Borilliamzar

    Joined:
    Apr 22, 2017
    Posts:
    1
    hi! me and my friends wanted to make a videogame over the summer, so we decided to learn how to do basic progamming and create a mini game to help us develop our skills. the test game is a 2d platformer and i have created ground and a player. I have added circle collider 2d and Rigedbody 2d. however i cant seem to figure out the script to get the player moving left, right and jumping. it would be greatly appreaciated if anyone could help me with coming up with the script or giving me a pre made one. thanks for reading my request and i hope you can help!
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    There is a platformer example in the example projects, if you included those assets in your download/installation. You can use the installer/helper to reinstall (add on) parts that you haven't previously installed, too, if you skipped over it at first. :)
    Pretty sure platformer 2d, with a character and movement is one of those.
    Thought you might like to try looking at that first, and you can write back on how that goes or if you need more insight.