Alternative To Sync ? (multiplayer)

  • How Can I make a map loading in multiplayer ?

    Example: when a peer join a room all the block of the map is sync and stop to be sync after.

    Problem: I can't use "On signalling connected : Sync Block" because the block are sync all the time and i have some performance problem.

    Help me plz ..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to set up the connection first.

    Take a look at the templates with the multiplayer templates to set up a working connection.

    After that its a matter of choice, either synch all the objects you want with the multiplayer object synch (this can be heavy on the lag if you synch too much) or loop through the objects to be synched once a peer connects, and sent their states (asjson) over to the peer, which catches the messages and sets the objects accordingly (create them if needed)

    After the initial synch you could broadcast object states/changes in messages to peers.

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