Sync a pinned object with a multiplayer game and destroy...

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • I have a player and a weapon that attach to the player.

    the player is in predict input mode, but it looks like the pinned object(weapon) doesn't sync with the current peer, but it looks ok on other peers.

    mediafire.com/file/dzuvlp0qhtkui9h/game4399.c3p/file

    ps:

    the host doesn't participate game

    only peers will spawn player

    so create 3 tabs to test

    update:

    I can see the host destroy the player immediately after the collision, but not the peers.

    should I build the same event on a peer groups?

    update:

    container vs pin object, what is the best way to manage such game objects with multiplayer

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You are not supposed to associate a weapon as a peer.

    Only use the Multiplayer->Associate on the object (character) the players are controlling.

    Also:

    "On Peer Connected" triggers only for players connecting, but never for the Host itself.

    Also "Pick a random Spawn1 instance" doesn't do you any favor either.

    I guess i don't have to teach you what random means.

    There are several other issues though.

    I highly recommend to read the official tutorials or look at the examples before you continue.

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