Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Turn based games

Discussion in 'Multiplayer' started by Fuzzypup, Aug 12, 2023.

  1. Fuzzypup

    Fuzzypup

    Joined:
    Aug 13, 2013
    Posts:
    190
    I couldn't find enough information on this.

    I make games that are IGO UGO games.

    I was looking for Unity multiplayer to host these kind of games. But I don't know if it does that.
    I couldn't find exact in formation on it.

    Player A does his turn, uploads it (small file), player B gets notice via email, Player B does his turn then uploads it, Player A gets notice, repeat
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,006
    This is not multiplayer in the common sense. It‘s closer to file sharing. Usually the file would be uploaded to a server or service like dropbox and the sender gets the URL to that file and forwards it to the recipient. This can be implemented in many ways but none involve any realtime networking framework such as Netcode for GameObjects.
     
  3. Fuzzypup

    Fuzzypup

    Joined:
    Aug 13, 2013
    Posts:
    190
    I know this. I want to know if Unity multiplayer can support this system.

    I am looking for a system where players can login to, preferably using Steam account.
    Post or Accept "looking for opponent" games
    Once you are matched up do a turn, upload it, other player notified.

    Photon Multiplayer can do that but since I use Unity I would like everything under one platform.

    Can it do that?
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,006
    In principle yes but not as an out of the box solution and definitely not as part of realtime networking frameworks. Neither NGO nor Fish-Net nor Mirror directly support the upload file and send email parts, and I have not seen those features in the Photon line of products mentioned either (PUN is deprecated, didn‘t check that).

    Meaning: The upload, file hosting and email sending with share link features need to be implemented separately in any case unless Photon hides that functionality somewhere deeper on their website. Moreover, you likely do not need any of these frameworks to implement the turn based multiplayer game with the „shared savegame“ approach.
     
    CodeNinja- likes this.
  5. Fuzzypup

    Fuzzypup

    Joined:
    Aug 13, 2013
    Posts:
    190
    Can you expand on the "shared savegame" approach? I never heard of this.

    Can unity multiplayer do this? Can steam?