How do I Make two player touch controls Help!!

Get help using Construct 2

Post » Mon Aug 17, 2015 10:17 pm

I can't figure out how to make a two player touch control system. Im trying to make a game that is a top-down shooter for two players. the players would be facing each other, and they would need to follow the touches. Please Help!!!

Thanks ahead of time
B
23
S
7
G
1
Posts: 90
Reputation: 2,070

Post » Mon Aug 17, 2015 11:31 pm

Well, you could make them unable to cross sides of the device, that way you can just measure if touch is greater or less than the midpoint. Otherwise, just compare distance from the object to the touchpoint (System>Compare two values) or pick the nearest player object to a touch instance--just remember, it'd be possible to steal a character this way.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Tue Aug 18, 2015 4:46 pm

How would I set the middle of the screen though?
B
23
S
7
G
1
Posts: 90
Reputation: 2,070

Post » Tue Aug 18, 2015 6:17 pm

B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Tue Aug 18, 2015 9:56 pm

thanks
B
23
S
7
G
1
Posts: 90
Reputation: 2,070


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests