- Home /
Can Someone help me with a script? (2D)
Hey, so I am making a 2D game and I have an animaion that is always going for my character I need a script that will flip the animation and character when I go left instead of right Is there any way someone can do that for me?
You'll probably need to provide a little more context about the character and the animation. For instance are you using something like sprite manager 2? If you just need to flip a plane you can just set the x of transform scale to -1.
I am using 2D toolkit, I need to so when I press "a" it plays the reverse animation and when I press "d" it plays the foward animation and when I just it plays the Jump animation
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
ERROR unity expected. insert a semicolon at the end 2 Answers
Animation + Scripting = I Don't Understand (Help) 0 Answers
What Am I Doing Wrong? 1 Answer