Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Multiplayer games on Project Tiny

Discussion in 'Project Tiny' started by Thellimist, Mar 24, 2019.

  1. Thellimist

    Thellimist

    Joined:
    Aug 1, 2014
    Posts:
    3
    Are there any examples, tutorials, libraries allowing this?

    I'd appericiate both tips on ECS + real-time multiplayer games and how to do this on project tiny.

    Thanks
     
    Last edited: Mar 24, 2019
  2. Thellimist

    Thellimist

    Joined:
    Aug 1, 2014
    Posts:
    3
  3. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    Hey @Thellimist ,

    There is no "out of the box" multiplayer solution at this time but it is still possible to create a multiplayer game.

    You can check out an early-adopter's game here: https://spacejump.debug64.com/
     
  4. Thellimist

    Thellimist

    Joined:
    Aug 1, 2014
    Posts:
    3
    Should the link have a spacejump game? Tried in both chrome and firefox. There isn't a game.

    @raymondyunity

    1) Is there a codebase of a authrotive multiplayer game using Project Tiny?
    2) Will there be supported modules for authrotive multiplayer game?
     
  5. VildNinja

    VildNinja

    Joined:
    Jan 17, 2013
    Posts:
    8
    I've tested that websocket-sharp https://github.com/sta/websocket-sharp works very well with Unity on a headless server (not for tiny though). In Tiny you have access to websockets through js, so getting the connection up and running is fairly simple. The old UNET also worked fine with websockets, but that is deprecated now, so probably wont be coming to Tiny.

    Try to look into the json utils Unity have provided, to stringify your messages.