How to create character movement like 'Subway surfers' or 'Despicable me'?

I also want to implement “Sliding” for my side scroller game. I hope someone will post a tutorial link. Subscribed this ques :wink: