How do I, "On tap"(Peer) in multiplayer

Get help using Construct 2

Post » Wed Apr 08, 2015 2:09 pm

I am testing the multiplayer object and read tutorials.

In my game when the host "tap" player 1 -apply force at position.This works

How I do for, when (peer) tap player 2 -apply force at position??
B
4
S
1
Posts: 34
Reputation: 418

Post » Wed Apr 08, 2015 7:28 pm

Send the tap input to the host and then perform it as if the host tapped the player.

Create a function for tapping a player. When the host taps a player, call the function. When a peer taps a player, send the tap to the host and get the host to call the function.
Nothing goes unanswered!
B
24
S
5
G
1
Posts: 434
Reputation: 3,446


Return to How do I....?

Who is online

Users browsing this forum: imhotep22, plinkie, Yahoo [Bot] and 8 guests