[Multiplayer] How do I synchronise many instances ?

0 favourites
  • 3 posts
From the Asset Store
Sync animations, animation frames, mirror state, sounds and anything else using these methods.
  • 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 :

    Then I link it to each peer according the player :

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

    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 :

    Peer :

    Any idea of the issue ???

    Thanks a lot !!!

  • Another way would be to separate the 5 instances in 5 objects.. handled in a family... but it's ugly, no ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)