how to have character move on its own and swipe to turn and swipe up to jump

i was wondering how i would have a character move forward on its own and have a swip to turn feature and a swipe up to jump feature like in this video

Right from the day I played this game i have wondered how it could be done. It is simple in unity3d, have the animation for run and give some velocity to the character controller in its look_direction, then you can detect the swipe direction using delta_variable of touch class or using delta_variables of Events class. According to the delta value you can make the character jump or turn (delta value greater in x = turn, delta value greater in y = jump!)

I have written a temple run clone starter kit which is now available on the Unity asset store.

If you’re still trying to figure out how this is done, grab a copy and you can look through the code (and make your own game!)

Cheers