So guys i have made this 2d platform where the play walk left and right so everything is good but when i walk and the walking animation turns on and it looks perfect buuuut it feels more like sliding than walking, how can i make it feel more like walking than sliding.
Any help will be much appreciated. Any at all
I know i don’t have any reference code but i am just looking for advice.

When you deal with 3D animations, there’s all the Root Motion stuff to do it for you, but in 2D, there’s nothing AFAIK.

So, you need to

  • position the pivot properly on every sprite of your animation so that it follows a linear motion in world space, if this isn’t enough
  • then you need an animation curve that contains the root motion (the delta between the pivot and the center of mass of your character), I recommend using an AnimationCurve for this, and
  • as you translate your character, you want to use that AnimationCurve to translate the right distance based on the animation loop timing

This is probably easier that it sounds, it all depends what you used to make your animations in the first place. Good luck!