hi guys,
i have updated my pixi from 4.3.5 to 4.5.1, and I found there is a little change in touch event
onTouchStart(e) {
console.log(e.data.originalEvent.touches);
// before originalEvent is TouchEvent so it has touches
// new version originalEvent change to PointerEvent which does not have touches
}
somehow the originalEvent change from TouchEvent to PointerEvent which does not have touches,
I used to detect touches to prevent multiple touches, so I have two question
1. what cause this change?
2. is there any other efficient way to limit the touches on my game, in my case, I only hope 1 touch exist at the same time?
thanks to your help