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

No idea from where to start Character Controller script

Discussion in '2D' started by Dumitru, Jun 3, 2015.

  1. Dumitru

    Dumitru

    Joined:
    May 7, 2015
    Posts:
    80
    Hello, so I'm new to unity and scripting.

    I was wondering if some help is possible to help me out with a problem I am running into for the past few days. I am making a 2D side scrolling platformer that consists of the character always moving forward, the catch is, the player can flip the character to change the direction he is going, with the tap of a button. The player can also jump with the touch of another button. Also, the character flips by himself as soon as he walks into a wall, any help, or ideas on how to do this will help me a lot. Thank you for taking your time to read this message and also thank you for being such an awesome community!
     
    Last edited: Jun 3, 2015
  2. 8bitCartridge

    8bitCartridge

    Joined:
    Feb 26, 2014
    Posts:
    144
    Unity (2D) Official tutorials @ youtube are very helpful regarding Character Controller(s)
     
  3. Dumitru

    Dumitru

    Joined:
    May 7, 2015
    Posts:
    80
    Yes, they are, but I can't find exactly what I need, I have spent the whole week, without success :(
     
  4. Gardes

    Gardes

    Joined:
    Apr 7, 2015
    Posts:
    46
    Found this for you. At 11:30 he is doing the code for flipping his sprite

     
  5. Dumitru

    Dumitru

    Joined:
    May 7, 2015
    Posts:
    80
    Thank you so much!