(Help) Multi-touch coordinate

Get help using Construct 2

Post » Fri Nov 23, 2012 2:43 pm

the expression Touch.X and Touch.Y only and always refers to the X and Y of First touch.

So what is the expression of touch 2, 3, 4 and so on?


Without knowing this, there is little way that a touch game can be build without suffering from unrefined touch control...

DESPERATELY NEEDING HELP.

Thank you!
B
12
S
4
G
4
Posts: 64
Reputation: 4,014

Post » Fri Nov 23, 2012 3:05 pm

Use Touch.XAt(Index) and Touch.YAt(Index) to select specific touch inputs for Multi-Touch.
B
12
S
4
G
2
Posts: 59
Reputation: 3,739

Post » Fri Nov 23, 2012 3:35 pm

Wow... so the xat was used this way....

all these time spent thinking and trying different things, and the answer is just... so simple...

@David Flook thankyou! You won't know how much this means to me O.O!!
B
12
S
4
G
4
Posts: 64
Reputation: 4,014

Post » Mon Apr 15, 2013 7:14 pm

What about if I need the touch at index of an specific layer, like a combination between: Touch.XAt(1) and Touch.X("UILayer")
Image
B
14
S
4
G
4
Posts: 132
Reputation: 3,148


Return to How do I....?

Who is online

Users browsing this forum: MarkThomas, signupdemo and 0 guests