How do I Sync multiple instances (RTS like) (Multiplayer)

0 favourites
  • 1 posts
From the Asset Store
Sync animations, animation frames, mirror state, sounds and anything else using these methods.
  • So here's a thing I've been struggling with for quite many hours:

    I want Player 1 (Host) to be able to create Units (multiple different, FUnits)

    And Player 2 (Peer) to be able to create Units (multiple different, EUnits)

    That only they can control:

    Player 1 Control his units (FUnits)

    Player 2 Control his units (EUnits)

    And two variables (Moving and Health) needs to be synced.

    Has somebody an idea how to do this?

    My main problem is that i don't know how to control what unit's are spawned and how Player 2 can control these units.

    I first thought that i should make:

    If Player 1 -> Sync FUnits & FUnit Variables

    If Player 2 -> Sync EnUnits & EUnit Variables

    ^^ That would be very easy, but it's not working :/

    Thanks in advance, i hope i defined clearly where my problem is.

    • Conti
  • 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)