Problem With Simultaneous Multi Touch
I am creating a game in which you control 2 players and for that there are two joysticks on the screen that control each of them. At first I thought it was going to be easy to implement this mechanics but I ended up suffering from the multitouch part when you need to map the joystick to the next available touch according to the order of the pressed joysticks. I researched a lot and what saved me was the Multi_Touch Template created by @The_Gamesalad_Guru that has the function of returning the next touch available on the system. Using this logic, I was able to make the joysticks work independently by mapping the touches correctly in the order they were pressed. However, this Guru template does not work when joysticks are pressed at the same time as the device understands this as a single touch and joysticks no longer function properly. For this error to happen both joysticks have to be pressed at the same time, which is not a common situation, but I realized that while you play the game eventually it happens and can get quite annoying.
I saw in a post on this link (https://forums.gamesalad.com/discussion/46765/2-free-dba-multi-touch-templates , scroll down a little) that The Gamesalad Guru commented about this error. His words were: "when you touch them all at precisely the same time the software sees it as a single touch". I don't know if he managed to solve the problem but I believe he never released the template with this correction update, which I found here: https://forums.gamesalad.com/discussion/89107/free-multi-touch-template-from-the-guru
I tried to solve it on my own but couldn't.
Moving on, I tried using two more templates that work with this: TheOfficial Cross-Platform Controller Template found on Gamesalad documentation page and the Dual Joystick Template that is available for free on GS Marketplace. Both also work with multitouch and use a different logic from the Guru template (and much more complex). I did some simulations and realized they have the same problem. In fact, the Guru template responded even better to this situation.
I really don't know what to do. I would like to know if anyone knows if Guru has released an update of his template correcting this simultaneous multitouch glitch or if anyone has gone through this problem and was able to solve it. I'm surprised that this turned out to be a big issue, as two on-screen joysticks are not so rare in mobile games. I would love to meet someone who made a game on Gamesalad with two simultaneous joysticks and had this problem and I also would like to know if that person was able to solve it or not.
I did several tests on iPhones and iPads with Gamesalad Viewer with all 3 of these templates and they all have the same simultaneous mutitouch problem.
Thank you very much if anyone can help me.
Sorry if there were any grammar mistakes.