Touch IDs not being assigned

Bugs will be moved here once resolved.

Post » Wed Apr 17, 2013 4:56 am

[QUOTE=Excal] TouchIDTest

Try this on a mobile device and let me know if you are getting any Touch IDs.[/QUOTE]

Ashley or Tom, give this a try. You'll see what I mean: if two simultaneous touches occur, both get the same TouchID.
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Wed Apr 17, 2013 2:52 pm

It works with unique IDs each time on iOS. On Chrome for Android, the touch ID is always 0 for the first touch, and appears to go up to 1 for the second touch. This is perfectly correct behavior; the spec for touch events only requires the identifier be unique to all other active touches (because touch IDs are only useful for distinguishing simultaneous touches), so re-using a touch ID of 0 is perfectly valid. Since your events aren't really aware of multi-touch, it's hard to see this happening when you touch both sides at once, but the ID does go to 1.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Thu Apr 18, 2013 12:03 am

Ashley, what might cause two touches to both have the same ID?
Project Lead of Zems Online Card Game

Producer at Impulse Limited
B
18
S
6
G
3
Posts: 677
Reputation: 5,194

Post » Thu Apr 18, 2013 1:51 am

I haven't seen anything that shows two simultaneous touches having the same ID.Ashley2013-04-18 01:51:51
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest