[Multiplayer] How do I synchronise many instances ?

Get help using Construct 2

Post » Sun Nov 22, 2015 2:42 pm

Hey guys,

I'm trying to synchronise many instances of the same object.
In my case, each player has 5 controllable object's instances.

Before the connection to the signalling server, I sync my object :
Image

Then I link it to each peer according the player :
Image

Finally, I recreate each instances host side (as in the tutorial) :
Image


Host side : no problem, I have my 10 instances, each with the correct peerid.
Peer side : problem → only 1 instance for each player (then 2 instances) are created at connexion..

See yourself :
Host : Image
Peer : Image



Any idea of the issue ???

Thanks a lot !!!
B
6
S
1
Posts: 45
Reputation: 509

Post » Mon Nov 23, 2015 3:11 pm

Another way would be to separate the 5 instances in 5 objects.. handled in a family... but it's ugly, no ?
B
6
S
1
Posts: 45
Reputation: 509

Post » Wed Dec 02, 2015 1:45 pm

I think you can only use associate object, per object, per player once.

i.e. you can have 5 different objects associated with 1 player. As long as they are actually 5 different objects.

Not 5 times an instance of the same object.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,592


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests