Search the Community

Showing results for tags 'originalevent'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. 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