How do I know which Nth Touch is used?

Get help using Construct 2

Post » Thu Jul 09, 2015 7:01 pm

Hi

I would like to know what happens when you touch multiple times and release some of them.

1. You touch and hold the screen using 2 different fingers (First touch is ID=0, Second touch is ID=1)
2. You release the first finger. The Second touch is still ID=1?

What happen if you touch again the screen without release the Second touch? Does the new touch ID will be 0 or 2?

Thanks
B
92
S
30
G
11
Posts: 654
Reputation: 11,707

Post » Thu Jul 09, 2015 11:14 pm

I haven't tested this but it would be extremely inconsistent with other logic if that third touch would be anything but 0. One thing is for sure though: releasing the first touch won't change the index of any other touches.
Edit: traditionally, this sort of system would fill the index of the lowest value first.
B
42
S
14
G
3
Posts: 165
Reputation: 5,115


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests