How do I create a multiplayer "text game" ?

0 favourites
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Oh I see. But maybe that would be more convenient the other way around :

    When host get an "answer" message from peer, he adds a key "CreatureCount//Multiplayer.message" with value "1". Or add +1 to the value if the key already exists.

    Then peers score if "HostAnswerList" has key "CreatureCount//Answer".

    At the end of the game, the "HostAnswerList" dictionnary should look something like that :

    1//blablabla 3

    1//bliblibli 2

    1//blobloblo 5

    ...

    2//blebleble 7

    2//blublublu 2

    2//blyblybly 1

    ...

    Which would be cool to analyse.

  • [quote:lhazvrjb]When host get an "answer" message from peer, he adds a key "CreatureCount//Multiplayer.message" with value "1". Or add +1 to the value if the key already exists.

    Yep, that would be a good way to go.

    But remember to add a "lowercase()" around the answer since not every person does capitalization the same. ;)

    (If you didn't add this, same answers with different capital letters would be recognized as "different". Adding "lowercase()" basically makes the comparing process case insensitive)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ooooooh now I understand what you mean.

    The game will be translated and played only in Japanese. So capital letters won't be a problem since it doesn't exist. I already thought about it .

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