Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Discussion Unity client for multiplayer game

Discussion in 'Multiplayer' started by Poasher, Aug 23, 2023.

  1. Poasher

    Poasher

    Joined:
    Jun 4, 2017
    Posts:
    1
    I want to use Unity as a client for multiplayer game. Server will developed separate of Unity client and connect to the server via websockets. Can you please give some ideas how is to organize game architecture better? Maybe I should use any libs for this? Thanks!
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,079
    Question is too broad. Like „How to make a vehicle?“ kind of broad. We don‘t even know what platform, what type of game, the game’s requirements, why the server is websocket based (not a realtime game?) and why you are looking for a „better“ architecture.

    If you look around, you‘ll find many tips and best practices for Unity development. At this stage the best advice is to just get started by implementing basic functionality and stress testing.
     
    CodeNinja- likes this.