[NOT A BUG. SOLVED] Multiplayer bug with Platform Behavior

  • Edit: As said in the multiplayer tutorial:

    [quote:2sv3ql14]Note that the Peer object's 8 direction behavior has Default controls set to No. This means none of the objects will be controllable, except where we use Simulate control. This is necessary to avoid the behavior trying to control all the peers in the game, where it would conflict with what Sync object is trying to do.

    So changing that in Platform Behavior MP works properly.

    My apologies.

    *******************************************************************************************

    Thanks in advance.

    Problem Description

    Using the platform behavior in multiplayer makes all the peers being asigned to host.

    When you move the player in the host, host and peers players moves.

    Each peer can still move is onw player, but this make the other players (host and other peers) shake.

    Attach a Capx

    https://www.dropbox.com/sh/z0n1zwj5782momd/AAATIo7JhWiWBi0qnLYnCjwqa?dl=0

    Here published in Bitballoon: http://mp-platform-bug.bitballoon.com/

    Description of Capx

    Multiplayer template modified as follows:

    1. Added a soil (sprite with solid behavior)

    2. Added "Platform" behavior to "peer" object.

    3. In Game Events changed "8 directions - Simulate control" to "Platform - Simulate control" (Bookmarked)

    4. Disable "8Directions - Simulate controls" and down movements. (I've also tried eliminating "8Directions" behavior and actions).

    Steps to Reproduce Bug

    • Run the game and start as host.
    • Open another tab and join as peer
    • Move the players

    Observed Result

    As in problem description.

    Expected Result

    Independent movement.

    Affected Browsers

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

    Operating System and Service Pack

    Windows 7 Home Premium SP1

    Construct 2 Version ID

    R195 (32-bit)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)