Host Value Update? { Please Help }

0 favourites
  • 1 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Problem:Spites values won't update for peer when the host updates the value.

    What my Logic is:

    Peer: On LMB click -> Send Message to host

    Host: On Message From Peer - > Create spite

    update sprite's string to Multiplayer.FromID

    Outcome:

    Sprite is created for both the Host and the Peer.

    Host can see the Sprite's new value but Peer can not.

    Notes:

    Sprite is sync'd over the network.

    Sprite's string variable is sync'd over the network.

    Trouble Shooting

    I've created Global Values and tried updating them first then creating the sprite later then adding the string to the sprite but this failed but same results (Host can see new value, Peer can not)

    Comments

    It is game breaking if I can't have the peers see who "owns" what sprite is created by who.

    I'm not really sure what is going on here as I've done this in other ways where if you hit space bar everything turns out fine with the right values but for this it just seems to refuse to work. Idk Maybe you can help. Hope this was straight forward.

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