ian Posted November 20, 2016 Share Posted November 20, 2016 I use hand-1.3.7.js for all events like onpointer events. Is there any other library for all events (touch pointer click ..:) Does jquery have its own library? Which library do you recommand for babylon.js ? Greetings, Ian Quote Link to comment Share on other sites More sharing options...
ian Posted November 20, 2016 Author Share Posted November 20, 2016 should we use https://github.com/Deltakosh/handjs or https://github.com/jquery/PEP Quote Link to comment Share on other sites More sharing options...
dbawel Posted November 21, 2016 Share Posted November 21, 2016 @ian - I used hand.js exclusively until I began working with @Pryme8. It was he who demonstrated to me how to capture touch events into arrays and be able to use these in ways hand.js or the many other touch extensions are not capable of doing. But for general touchscreen compatability for use with babylon.js, I personally find hand.js the easiest and most compatible touchscreen extension. But I would also take a look t hammer.js for features nd abilities which hand.js doesn't currently have. However, now that I've had experience building my own functions taught to me by @Pryme8 - I will only use touchscreen extensions when I'm short on time or if it's a simple project. Otherwise, you'll find far more flexbility in capturing touch events into arrays of your own, and it's simple to use these to drive your functions in javascript with far greater capabilities, and far fewer browser and OS compatbility limitations. DB 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.