How do I Sync Text ? ( Reference Preview Image )

0 favourites
  • 5 posts
From the Asset Store
Elevate your games with our AI Chatbot Integration! Seamlessly connect your Construct 3 projects with GPT-4 for dynamic,
  • Its Possible Sync Text,

    how can i do that ?

    Tagged:

  • That depends on who determines what message needs to be send out.

    Situation Host sends out a message for all:

    Host: broadcast message "TheMessage" -> "This is the message." From HostID

    Peers: On message received "TheMessage", set Text to Muliplayerobject.Lastmessage

    Situation Peer wants a message send to all:

    Peer: send message to Host, "NewMessageForAll" from Mulitplayer.MyID

    Host: On message received "NewMEssageForAll" -> set Text to Muliplayerobject.Lastmessage and Broadcast message Muliplayerobject.Lastmessage from Multiplayerobject.PeerID (sending peerID here from the message the host gotten from previous peers ID, prevents this message being sent back to the peer where it originated from)

    Peers: On message received "TheMessage", set Text to Muliplayerobject.Lastmessage

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah Bro I cant Understand

    Yes its multiplayer, i need to purchase singling server for that project ?

  • Ah Bro I cant Understand

    Yes its multiplayer, i need to purchase singling server for that project ?

    Most likely, if you want to use it in production (game on playstore for example)

    Multiplayer is a hard concept in construct, perhaps follow some of the tutorials first if you havent yet.

  • thanx buddy

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