Led76 Posted August 1, 2017 Share Posted August 1, 2017 Hi I am thinking of using some gestures (rotate, swipe) and adding some custom gestures as well (hold down sprite with one finger and swipe it {left or right} with another). Is it possible? Is it also possible to combine Hammer.js with Pixi.js? If so, is there any example I could have a look at? If there is any other promissing alternative (WebGL is probably important though since my app will be quite demanding in terms of performance) to pixijs I could swich since I am at the very beginning of designing my app. Cheers Quote Link to comment Share on other sites More sharing options...
Led76 Posted August 2, 2017 Author Share Posted August 2, 2017 Anyone on this? Many thanks Quote Link to comment Share on other sites More sharing options...
Tymski Posted August 6, 2017 Share Posted August 6, 2017 you can add hammer.js to pixi project, you will need to add listeners for events to detect them for example sprite.on('swipe',doSomething); Quote Link to comment Share on other sites More sharing options...
Led76 Posted August 7, 2017 Author Share Posted August 7, 2017 Great, I will try that. Thanks, Tymski. I will post again in case of issues with that. Cheers 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.