Hey guys,
I'm using hammer.js in a composition to make a tablet book application. Now I've used the standard swipes provided, with help from tutorial sites.
Also the standard double tap.
function init (){
var element = sym.element[0];
var hammer = Hammer(element);
hammer.on("swipeleft", function(event) {
sym.playReverse();
Now I was wondering if anyone could help me to do a multiple finger swipe, like with 4 fingers or more.
I would really love to make it a sort of pan, going from page 1 to page 2 and so on. I also want to make an animation connected to the x-axes so with each px you move, it looks like your looking into a looking box. So when you are in the middle of the pan, it would be in the middle of the pan animation between 2 pages. The looking box animation, I would probably make with after effects, using 3d layers.
Or how to do a event.touch.length where if you press long enough on the screen something happens.
All help much appreciated!
Thanks