How to move a box, not the character run?

I’m trying create a game, where the map is endless(temple run, subway surfers, etc). How can I make to move the map and can I make the character to run and stay on the same place? I want to move the map and to stay my character in the same place and simulate the running, jumping, etc animations. Thanks! :wink: