Touch Identity

Get help using Construct 2

Post » Fri Jan 18, 2013 1:40 am

@Ashley responded to me in this thread:

the 'on touch end' event takes a zero-based index of a touch, but you're passing the touch ID which is an arbitrary number uniquely identifying a touch.



I think he means that the problem is 'on touch end' expects a specific numeric index (number of touches) but I'm passing it the random unique number of the puck.

I thought this line was saying "when the specific touch on this puck ends" but apparently not.

Does anyone know of a way to say that?kenhes2013-01-18 02:37:07
B
19
S
3
G
2
Posts: 212
Reputation: 4,011

Post » Fri Jan 18, 2013 3:25 am

Changing it to "is touching puck" (inverted) makes the behaviour occur in preview mode. (Before, it would only be seen on a touchscreen). Getting closer I guess.

TouchID
B
19
S
3
G
2
Posts: 212
Reputation: 4,011

Post » Fri Jan 18, 2013 6:42 pm

I may have solved it. Adding what happens when touch speed is less than 100 seemed to do it.

B
19
S
3
G
2
Posts: 212
Reputation: 4,011

Post » Mon May 27, 2013 3:52 pm

Do you perhaps still have that example, i cant download it because the link gives me a dead end ^^;

Im trying to get something similar to what you described here to work, but i cant really grasp the concept of how to control a sprite with a specific ID of a touch.
B
7
S
1
Posts: 21
Reputation: 1,242

Post » Wed May 29, 2013 1:16 am

The link above should work now.
B
19
S
3
G
2
Posts: 212
Reputation: 4,011


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests