Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unet player island

Discussion in 'Connected Games' started by Avi3ator, Nov 11, 2018 at 12:01 AM.

  1. Avi3ator

    Avi3ator

    Joined:
    Feb 29, 2016
    Posts:
    52
    Hi! Im working on a project to learn some C# unet.
    I want to create a spawn system that gives each player their own island, and other people can visit that island(kinda like Clash of clans or pirate kings). And i would be happy to get some pointers and tips on how to do this :)
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    3,817
    My first tip would be that Unet is being removed from Unity in a matter of months, so putting effort into learning it now is not the best use of your time. Choose a networking API that isn't deprecated.

    Also a game like Clash of Clans wouldn't do well with the Unet HLAPI, as players are primarily in separate locations that don't need to and you don't want to sync to all other connected players (which is what Unet's HLAPI is build for). You'd want to build your own networking needs on top of a lower level API, so you just sync to individual clients what they need.
     
  3. Avi3ator

    Avi3ator

    Joined:
    Feb 29, 2016
    Posts:
    52
    okay so this isnt easy with photon aswell? They dont have any like built in feature?
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    3,817
    Every networking API has some form of low level messaging functionality.