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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question primitive examples of playing on entities 1.0.0

Discussion in 'Entity Component System' started by Zimaell, Mar 9, 2023.

  1. Zimaell

    Zimaell

    Joined:
    May 7, 2020
    Posts:
    345
    Tell me where you can download examples of the game on entities 1.0.0.
    I mean that there should be such primitives as - spawn, movement, collision, taking damage ... so at a primitive level, but so that you can disassemble the script piece by piece and consider how it all works and works with an example.
    Unfortunately, I see few examples on the network for 1.0.0, so if anyone can tell me.
     
  2. philsa-unity

    philsa-unity

    Unity Technologies

    Joined:
    Aug 23, 2022
    Posts:
    113
    There are three main resources I would point you to at the moment. Two of these aren't exactly simple projects due to being online, but they could still be useful:

    1- DOTS Tutorial

    https://github.com/Unity-Technologi...er/EntitiesSamples/EntitiesTutorial/README.md
    This covers the basics of working with ECS and would be the best starting point.

    2- ECS Network Racing

    https://github.com/Unity-Technologies/ECS-Network-Racing-Sample
    This is a networked racing game with a complete game flow (menu, lobby, game)


    3- OnlineFPS Sample

    https://github.com/Unity-Technologies/CharacterControllerSamples
    https://github.com/Unity-Technologi...ob/master/_Documentation/Samples/onlinefps.md
    This is a networked shooter game that includes character controls, weapons, health, damage, etc...
     
  3. Zimaell

    Zimaell

    Joined:
    May 7, 2020
    Posts:
    345
    philsa-unity, this is even better, thank you very much.
     
  4. Zimaell

    Zimaell

    Joined:
    May 7, 2020
    Posts:
    345
    I still do not understand how to connect two PCs (not locally). it is not desirable to connect directly, this is understandable, the ports are closed, configure the router, etc...

    I have a server through which traffic can be passed, but I don’t understand how to specify this in the entity configurations. I reviewed many examples, they are very confusing in this regard.

    Is there an easy way to connect two (or more) clients through a dedicated server?
    (previously I used this server for text messaging, I think you can also send movement coordinates)