Would it be possible for you guys to do something like this:
Create an Array called (e.g) FingersOnScreen. It is an Array with a Length and up to <how much the devices supports> entries maximum. Each element is a "Mouse", so that you con detect the x-value of the third finger (sorry, I am using C# more often, so that this syntax might be wrong) FingerOnScreen[2].X It would be perfect. The array has no entries, when no finger touches the devices. IMHO such a functionality would be gorgeous for a for-Loop and for games on Android :) BTW: A event FingerOnScreen would be needed as well ;)
I am currently developing a Pong-like game for every platform...
I also tried to export it as JS without any code changes....
The problem was, that Processing uses:
DisplayWidth
Processing.js uses (IMHO like Android)
Screen.Width
This means a compatability problem...
Is there a boolean Processing.Java, Processing.Js, Processing.Android to detect which System is used and to react on it. (So that there is no compiling error)