How do I enable multitouch

Get help using Construct 2

Post » Wed Aug 02, 2017 2:20 pm

Hey all. Is there still a plugin or something to download to enable multi touch? I found a forum recently with a link to a multitouch plugin but the link wasn't working on scirra. I am currently working on an air hockey game where there are two paddles and I want both paddles to be able to be touched/moved/clicked at the same time. What is the best way to accomplish this. I had trouble following along with the multitouch tutorial on scirra. Could someone post a capx as an example for this?
B
12
S
3
G
3
Posts: 36
Reputation: 2,274

Post » Wed Aug 02, 2017 3:44 pm

You don't need a plugin for this because construct already supports multitouch. You must make paddles respond to touch by a certain Id (Touch.id)
Eg: On paddle touch, set variable "Player_ID"to touch.id
If player_Id = touch id, then set position to touch.position
Free code for all
B
25
S
8
G
4
Posts: 60
Reputation: 5,074

Post » Wed Aug 02, 2017 4:17 pm

Multi-touch is covered in the Touch plugin section of the Manual.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,555
Reputation: 60,454

Post » Wed Aug 02, 2017 6:29 pm

Thanks for getting back to me Reuben. Can you show me what this would look like by posting a capx example?
B
12
S
3
G
3
Posts: 36
Reputation: 2,274


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 10 guests