-
Notifications
You must be signed in to change notification settings - Fork 93
Cross platform multi touch fixes #44 #174
base: master
Are you sure you want to change the base?
Conversation
I have tested this out using this project: https://github.com/AgileJoshua/superpowers-touch-demo The project suports multiple touches and tapping simultaneously. The only issue I have found so far is on Android when tracking multiple touches when a touch is ended then the first touch in the array is also ended. But this only occurs once after there are zero touches. This could be an issue with my demo project...
I have tried to keep to the API standard for mouse events: plus |
I am pretty new to SP, is there any way I can test out this build of the engine? (I'm not sure how to replace the build with the one on my local computer) |
Updated with current master and finally got around to testing and debugging through the problems that were occuring on Android devices. I have tested this on real devices and in emulators/simulators, single and multitouch works as far as I can tell on Android and iOS. I have not tested on touch enabled Windows devices. To test this, setup a superpowers dev environment. Switch to this branch of the code for the game system and compile as instructed. Use my demo project https://github.com/AgileJoshua/superpowers-touch-demo to get a simple test project up. Just create a new folder inside the superpowers project folder and place all the files from https://github.com/AgileJoshua/superpowers-touch-demo there. |
a50c06d
to
5345074
Compare
Rebased the whole fix on top of master to ensure only relevant changes are included... |
Verified to work on Windows 10 on a Phone (Lumia) and Surface Pro 4 (in Chrome). |
Restarting PR #65 (by accident) while trying to cleanup stuff.
Still needs to be tested on devices - this is just the cleanup...