How do I cris-cross multiple touches

Get help using Construct 2

Post » Sat May 13, 2017 8:41 pm

Message: thevinci can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
In the https://www.scirra.com/tutorials/4973/m ... t-controls tutorial for multipletouches -- awesome, btw; I didn't find a specific topic I am looking for.

Regarding multiple touches, is there a way to cross screens?

ie. I would need to catch an item on the left side of the screen with one finger, then drag it to the right and release, while simultaneously doing the reverse
(dragging something from the right and releasing it on the left). Many times, the actions will overlap.

Is this possible?
B
9
Posts: 5
Reputation: 337

Post » Sun May 14, 2017 7:12 am

yes it's possible.
if the touches come so close together the screen reads it as a single touch, then it might mess up a bit.

you could probably use the drag and drop behavior

something like

on any touch start
item1 and item 2 is in touch >>> enable drag and drop

on any touch end
sprite is in correct position >>> disable drag and drop, give points or whatever
else >>> disable drag and drop, return to original positioning
(just paraphrasing the last bit)

https://www.scirra.com/manual/137/drag-drop
B
25
S
16
G
26
Posts: 125
Reputation: 16,103

Post » Sun May 14, 2017 6:12 pm

Awesome. Thank you.
B
9
Posts: 5
Reputation: 337


Return to How do I....?

Who is online

Users browsing this forum: Madave96, RobertMKD and 7 guests