Multiplayer sync position problem

0 favourites
  • 4 posts
From the Asset Store
The official Scirra Multiplayer Signalling Server for helping peers find and connect to each other
  • Problem Description

    (Sorry for my english) I try to make a game where the movement and collision are client sided (The client send his X and Y to the host and the other peer) but When a peer join I have a error ... i'm not sure if I understand the "PeerState"

    Attach a Capx


    Description of Capx

    Just a simple multiplayer platformer maked whit the example.

    Steps to Reproduce Bug

      Open 2 tab one for host and one for a peer. and when the peer will join you have the error.

    Observed Result

    I have a strange error.

    Expected Result

    All of the player send his X and Y to other.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Window 8.1

    Construct 2 Version ID


  • This is not a bug, but how you implemented the multiplayer concept.

    First problem: for the synching, you should add the client input tags, "xpeer" and "ypeer" on event 8 in the game event sheet. (like lookx looky and input tag)

    Adding those will fix the host movement on host and peer.

    As for peer movement, there is no peer control structure implemented.

    Simply copy the control pieces from the host group to the peer group. (event 29 in host group) (or move event 29 to the common group)

    And voila ... it will work. (just tested here)

  • Omg i have just forget this >< ... thanks you very much ^^''

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as not a bug.

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