trinoo Posted October 5, 2017 Share Posted October 5, 2017 Hello guys, please, does anybody have working example of Pixi and Hammer.js (gestures) integration? I was not able to find anything useful neither here in the forum, nor using google...thanks in advance... Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 5, 2017 Share Posted October 5, 2017 I dont remember that too. Its possible that you'll be the first one. Quote Link to comment Share on other sites More sharing options...
mattstyles Posted October 5, 2017 Share Posted October 5, 2017 Pretty sure you can attach standard hammer gesture recognisers to work from any event emitter i.e. change the default DOM handlers that it tracks to be something else. Pixi probably already emits all the events that hammer would need to work. It might something to do with the hammer recognisers api, not sure. Been a little while since I touched this though so hopefully I'm not being just plain wrong and sending you down a rabbit hole. ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.