Loading multiplayer game scenes - [Fish-Net #16][Tutorial]

Sdílet
Vložit
  • čas přidán 22. 05. 2024
  • We create the function that will handle the start of the game, send parameters from the lobby to the server, and then the server sends the scene to the room clients
    [❗Priority support for Escape Game❗]
    Priority support is offered on our discord channel.
    It is available under the private channel #priority-support.
    To be granted access, you either have to :
    - Become a Twitch Subscriber (instant & automatic access upon linking twitch and discord)
    - Redeem the 10,000 channel points reward "Access to ESCAPE discord channels" in twitch (free)
    By watching the livestream, you will obtain channel points overtime. You will also have the chance to be granted a subscription by a generous contributor!
    0:00 Correcting bug from last ep
    1:30 Start game
    14:00 Configuring scene server
    20:30 Server sends scene to clients
    27:00 Hiding lobby when joining
    *🔴Livestream alert*
    I may be live on twitch, come hangout or ask questions!
    ► / n3rkmind
    *More free tutorial series*
    ►🌐 Cross platform multiplayer standalone & web game
    • Escape Game
    ►♟️ Learn how to make a Online Multiplayer Chess Game
    • ♟️ Create an Online Ch...
    ► ⚔️ FREE Top Down RPG Course:
    • Learn Unity Engine and...
    ► 🔑 Authentication tutorial with NodeJS and MongoDB:
    • Unity Authentication w...
    *🍺Spare pesos for a beer*
    ► Want to help the Mercenary Camp project? You can show your support with an membership!
    / @n3kmercenarycamp
    ► Planning to buy from the asset store? use my link!
    assetstore.unity.com/top-asse...
    *🫂Looking for human connection?*
    ► Join our community!
    Discord 👊 / discord
    Website 📡 merc.camp
    Live 🔴 / n3rkmind
    👍 If you enjoyed this video, don't forget to give it a thumbs up and share it with your friends!
    Mercenary camp creates free educational content, and will continue to do so. I ask that you engage with the content through liking and sharing the videos if it helped you.
    #gamedev #multiplayer #crossplatform #unity #unityTutorial #n3k #epitome #mlapi #merc #merccamp #n3ken

Komentáře • 3

  • @DenysShust
    @DenysShust Před 11 dny

    Amazing tutorial ❤

  • @zoomer1865
    @zoomer1865 Před 11 dny

    btw Thanks a lot. I was waiting for this

  • @zoomer1865
    @zoomer1865 Před 11 dny

    ok there is a issue here
    czcams.com/video/f7nylHjDdjc/video.html
    firstObject is a NetworkObject and TargetMemberStarted gets a List ..so it will through an error
    I fixed it like this for now.
    if (item.Owner != joinerConn)
    {
    List firstObjectToList = new List();
    firstObjectToList.Add(firstObject);
    TargetMemberStarted(item.Owner, firstObjectToList);
    }