Its simple i think I try use tmplate of C2 but i dont really know what to do to make only horizontal panning.
Develop games in your browser. Powerful, performant & highly capable.
If you look at the infinite flyer (Flying Along Template) and the Flappy Bird Template as well as the infinite runner template you should have plenty of examples to use from those.
BluePhaze you dont understand me, i dont need scrolling but panning by touch
Ah, my bad sorry!
I believe there was a tutorial or a forum post on scrolling by swipe or touch that should cover it.