Multiplayer Game Architecture in Unity

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 132

  • @AttackOnTyler
    @AttackOnTyler 2 года назад +18

    My thing is, when multi-player game devs talk about multiplayer, they will tell you two things.
    1. It's hard
    2. You need to develop your game with multi-player in mind from the start.
    While conceptually that makes sense, they don't elaborate. Like of course you need to start with multi-player if you're going to have a dedicated server and clients because your input needs to go to the server and the server needs to communicate that back. Cloud based servers makes sense, since you want low latency for your player base but nothing more is elaborated on past that.
    This video is the best road map I've ever seen for all the big picture systems that need to be put in place to make a big multi-player game and I can not thank you enough for putting this together.

    • @alcionetauri
      @alcionetauri 6 месяцев назад

      tbf, if you use unity, there are some libraries that makes it pretty easy. These "mmo architectures" are just needed when you're developing a pretty big project.
      Exactly the same war you see on webdevelopment when people argue that languages like Ruby or PHP aren't suitable for webapps and that's why facebook stopped using PHP.

  • @xzippyzachx
    @xzippyzachx 4 года назад +114

    This was a very good high level explanation of how the architecture of a multiplayer game is built! Very well put together!

  • @washburnlane
    @washburnlane 4 года назад +40

    20 years in IT and this is probably most concise yet informative 15:21 of my career. Excellent work! I look forward to the series.

  • @thegodfatheram
    @thegodfatheram 13 дней назад

    It's crazy how good this man is at explaining great job thanks for the info

  • @obaynaeem8595
    @obaynaeem8595 4 года назад +9

    i have searched the internet for simple info about networking before making my first unity multiplayer game and found that this series is the best of the internet has to offer
    keep up the good work , and thank you

  • @stuffwithjuice2111
    @stuffwithjuice2111 2 года назад +1

    Literally am going from using Ableton to soft and tNice tutorials helped trendously as a beginner. Thank you so so much for tNice tutorials!!

  • @FullStackIndie
    @FullStackIndie 4 года назад +36

    Oh my goodness dude you blew my mind!!! This probably the most in depth and simple to understand tutorial on networking I've ever seen. Great job man!!! loved it! I truly hope your able to achieve the scope of what you presented in this tutorial. So far you've given all this away freely and it's much appreciated. Keep up the great work!

  • @BladezyEditz
    @BladezyEditz 5 месяцев назад

    No intro, no side talks just straight to point... You gained a new sub buddy ❤✨

  • @sreejith3317
    @sreejith3317 4 года назад +38

    This series is awsome

  • @RadicalRik
    @RadicalRik Год назад +1

    Host migration just brought back modern warfare 2 nightmares from 10+ years ago

  • @urzytkownikYT
    @urzytkownikYT 3 года назад +1

    This is entire goldmine of knowledge. God almighty, where would we be if every youtuber would keep such quality.

  • @raphaelembarbe4626
    @raphaelembarbe4626 4 года назад +1

    Best series about Mirror ever !

  • @MonkeyBoyKHS
    @MonkeyBoyKHS 2 года назад +2

    how do you only have 6k subs bro. As a dev myself this is such a great break down of some complex things in such a clear manner. Good shit my guy

  • @hmqasim_08
    @hmqasim_08 Год назад

    This was a very good high level explanation of how the architecture of a multiplayer game is built! Very well put together. Nice work buddy !!!

  • @alexsofia6884
    @alexsofia6884 3 года назад

    Best series, and no RUclips ads. All of these videos earn a like from me.

  • @VincentVeak
    @VincentVeak 4 года назад +17

    Holy smokes, this is actually amazing and was everything I was hoping for. Just stumbled across this randomly and I'd love to support this. I really do hope that this series reaches completion!

  • @xso8476
    @xso8476 2 года назад

    5 k subscribers ? this guy is sooo underrated , thank you great explaining

  • @TheSlaxer
    @TheSlaxer 4 года назад +1

    Thats Channel is awsome! I waited so long for channel like this. Theory + explained implementation, aaah i love that.

  • @niazm.sameer9088
    @niazm.sameer9088 4 года назад +3

    Let me just say; I hope you don’t stop making these videos. You’re helping people make their dream game. Thank you! ❤️

  • @MrJuancho2706
    @MrJuancho2706 4 года назад +3

    I fricking love you dude!

  • @3rdlastsurvivor
    @3rdlastsurvivor 4 года назад +17

    awesome! can't wait for the rest of the series :)

  • @armadababus
    @armadababus 10 месяцев назад

    thank you soo so much for clarifying what and hows inside my head, keep it up

  • @0sac
    @0sac 4 года назад +22

    Great video, also worth noting that giving players the ability to host dedicated servers will ensure that the game can be played long after official servers have shut down.
    I love games that give me this ability as I know the game won't just become unplayable at some point in the future.

  • @codingTheFuture
    @codingTheFuture 4 года назад +1

    Thank you! Awesome tutorial videos... Very much looking forward to the rest of the series.

  • @johnwang975
    @johnwang975 3 года назад +1

    I am currently studying for big tech system design interviews and came across your video, just wanted to say how amazing and well-put together this video is. I really liked how you compared different cloud services and also how you built upon each example to go from local multiplayer all the way to dedicated servers. You have a talent for teaching!

  • @TheSensationalMr.Science
    @TheSensationalMr.Science Год назад

    10:51 nakama... is a great software for social, matchmaking and competitive game server. also works with unity.
    Hope you have a great day & Safe Travels!

  • @siavashmehmandoost2198
    @siavashmehmandoost2198 4 года назад +2

    Amazing tutorial! I know making such tutorials is time consuming but it worth!

  • @Ayyouboss
    @Ayyouboss 4 года назад +12

    Why is this just so awesome. I can just feel how much effort ist put into these vids just based on the packed and understandable knowledge I was able to obtain from just this video!
    Great work and please keep this series up! I really would like to see more of this awesome stuff as I never was able to really understand the core of Networking because of its complexity. Thanks

  • @trombonaught
    @trombonaught 3 года назад

    That must've been the most beginner-friendly 15 minutes out there for this topic. Woah.

  • @styliann
    @styliann 4 года назад +1

    This is excellent work. Looking forward to more videos in that series!

  • @zyntist
    @zyntist 3 года назад +4

    This is gold! TY for the tremendous effort man. Finally someone explaining the concepts and not just specific cases.
    I'm sure shrine wars will crush it and hope you keep showing us the way ;)

  • @yousufazad6914
    @yousufazad6914 Год назад

    Freaking subscribed! God-tier video

  • @frederickfreund1957
    @frederickfreund1957 3 года назад +1

    OMG this video is soo good. Thank you so much! Love the topic and the way you explain it. I Was very sad when the video was over. I would also be very interested in more videos that go into the rough architecture of different kind of multiplayer games (i.e. "how would you approach a game like worms, NFS, cod" and so on). There are many Tutorials out there that explain how to write something specific in code, but I am more interested in how to structurize multiplayer games, as I struggle a lot with that when my projects get bigger.

  • @bronzemoongames
    @bronzemoongames 4 года назад

    This is like all required crucial information in a small pill, thanks a lot. Looking forward to rest of the series.

  • @nootherkyle
    @nootherkyle 3 года назад

    Omg you gotta admit that he's putting much more efforts into this than others.. Man you nailed it
    You deserve a millions subs, you will reach there tbh just keep up the good work..

  • @noamsapir2366
    @noamsapir2366 4 года назад

    Very good series, Your explanations are very good.
    As a developer with Networking experience I learnt new stuff that I didn't know about Networking and Mirror.
    Keep up the good work!

  • @povilasca8306
    @povilasca8306 4 года назад +3

    Amazing, please keep this up

  • @thilun9176
    @thilun9176 4 года назад +2

    Thank you so much for this series

  • @chadzulu4328
    @chadzulu4328 Год назад

    Excellent video, thanks so much!

  • @ayan3789
    @ayan3789 4 года назад +1

    no bullshit! straight knowledge! loving it

  • @hansvallee9558
    @hansvallee9558 3 года назад

    Thanks you very much for this straight to the point and comprehensive architecture tutorial.

  • @SirSnowman
    @SirSnowman 3 года назад

    Wow, straight to the point! Thank you, subscribed!

  • @nikilkumar1000
    @nikilkumar1000 4 года назад

    Really really well built series.
    Appreciate the high effort.
    Keep the series going strong.

  • @ANJ_gaming
    @ANJ_gaming 11 месяцев назад

    One note I feel was overlooked was that Dedicated Servers don't Have to have the downside of cost. In the scenario that the game devs themselves want to host dedicated servers, that is accurate, but you can also build around player ran dedicated servers which wouldn't run the developers any extra cost as far as I'm aware.
    Great video nonetheless

  • @wmcmurray
    @wmcmurray 3 года назад +12

    Person 1 : "Are you a game developer ?"
    Person 2 : "I'm a third-party-services-bundler specialist."

  • @KlojMaalem
    @KlojMaalem 3 месяца назад

    the hardest thing if you plan on making a dedicated server is the syncrhonization it is like client sends stream of messages through one pipe and the server filters each accordingly then broadcasts it and the client refilters also that for clients to render for each other except the receiver client while applying this for everyone atleast from my algorithm :D

  • @anonymouscommentator
    @anonymouscommentator Год назад

    i loved this video! thank you so much!

  • @yousufazad6914
    @yousufazad6914 Год назад

    Awesome video dude. Really.

  • @tricknick4930
    @tricknick4930 3 года назад

    Man, you're so underrated! Keep going

  • @fasterplop
    @fasterplop 3 года назад

    im glad i found this wonderful video

  • @nirupamdey6628
    @nirupamdey6628 3 года назад

    Very clean looking video.

  • @navdeeparya153
    @navdeeparya153 2 года назад

    Good Explanation! Keep it up

  • @davedaddy101
    @davedaddy101 2 года назад

    Your channel is very good. Thank you for this.

  • @karansahu7710
    @karansahu7710 4 года назад

    this video is very informative, thank you for creating these kind of videos

  • @KhangNguyen-wj5jd
    @KhangNguyen-wj5jd 3 года назад

    This is a great series

  • @MatejVancoCG
    @MatejVancoCG 3 года назад

    Great presentation on the highest level! Good job.

  • @2bitsbyab
    @2bitsbyab 2 года назад

    awesome explanation

  • @kalkatos
    @kalkatos 2 года назад

    Great video! I can confirm that you managed to put every information needed in a nice way. To be perfect, I think you only missed explanation on one kind of games: asynchronous multiplayer. I'm talking about games like Clash of Clans, Super Mario Maker, and the likes of play-by-e-mail. There is some interaction between players, but not in real-time, they act upon a database.

  • @techmaster90
    @techmaster90 3 года назад

    I'm the 1K like lol. Very good video. Thank you for the effort!!!

  • @DanielDaAbadSukarno
    @DanielDaAbadSukarno 2 года назад

    Thx for explanation it very helpful! 😁

  • @sudarshandoke3022
    @sudarshandoke3022 3 года назад

    Very well explained.😍
    Thank you soo much

  • @eduardorabanal2803
    @eduardorabanal2803 4 года назад +2

    thanks a lot bro

  • @CourageousCreatives
    @CourageousCreatives 3 года назад

    This was very helpful. Thank you !

  • @omerfi
    @omerfi 2 года назад

    Awesome video!

  • @AlbertoFdzM
    @AlbertoFdzM 3 года назад

    Amazing video, this is a ton of info well packed and organized. Thank you so much for your dedication to this, I learned a lot.

  • @benjamindenis2215
    @benjamindenis2215 4 года назад

    Really good vid! Learned a lot thanks

  • @Ivcifer
    @Ivcifer 4 года назад

    amazing content, thank you so much for the knowledge!

  • @Aminsx_
    @Aminsx_ 3 года назад

    Thank you mister knowledgeable

  • @NatadTech
    @NatadTech 2 года назад +1

    Thanks

  • @shahriarrezowan4065
    @shahriarrezowan4065 7 месяцев назад

    THANK YOU MOST❤❤❤❤❤❤❤❤

  • @shoaibzafar5663
    @shoaibzafar5663 Год назад

    Great video

  • @AlexandrBorschchev
    @AlexandrBorschchev 3 года назад

    I remember playing this fps game called bullet party, it used p2p and lan, when i first learned about networking i looked back to this game and i realize one player is hosting the connection and the players are all around the world so no wonder it was so laggy in different lobbies.

  • @EnderElohim
    @EnderElohim Год назад +1

    3:20 BUT we also have steam play together now which means your friend can join your game as if you playing in same computer through steam

  • @dantebuscaglia649
    @dantebuscaglia649 3 года назад

    Nice vídeo !!!!!

  • @Kisme-e9f
    @Kisme-e9f Год назад

    great video!
    But that's good to consider P2P generaly is not a topology, it's a service model.

  • @IgorSantos-qw8vv
    @IgorSantos-qw8vv 4 года назад +4

    Hey, I am so excited for this series. I always want to learn it but never found good materials. Do you have a patreon? I can't afford much but I would be pleased in paying you something for the great work :)

    • @ShrineApp
      @ShrineApp  4 года назад +1

      Thanks Igor, glad you found it useful. I'll consider making one as the series grows.

  • @justlama0
    @justlama0 2 года назад +1

    for fall guys - local deterministic simulation architecture with rollback will be better.

  • @theebulll
    @theebulll 3 года назад

    Love this video, will we be getting the follow up videos for this?

  • @NoelTugy
    @NoelTugy 3 года назад

    I'm making a Gacha game so that helps a lot!
    I think I'll imply an online server after I'll finish the Gacha and the basic story for my game
    Having a server definitely adds a lot of options for my game so I'm very curious about it

  • @FredTheJust
    @FredTheJust 3 года назад

    you must be a teacher. a good one

  • @ShrineApp
    @ShrineApp  4 года назад +9

    Hope you enjoyed this one! You can join our Discord here: discord.shrinewars.com

    • @eriksjud9465
      @eriksjud9465 3 года назад +1

      its a dead link

    • @avisor1894
      @avisor1894 3 года назад

      We need new link!) I need help from profi

  • @jeistarGames
    @jeistarGames 3 года назад +1

    no boring stock videos or image macros. just diagrams. as it should be.

    • @miguelescutia5556
      @miguelescutia5556 Год назад

      His video is so well put and interesting that I didn´t even notice not having fancy graphics or sound. He could do a podcast and still be awesome in delivering his gold info. I rarely subscribe to a channel but I will explore his in depth. Thank you.

  • @victorz7748
    @victorz7748 8 месяцев назад

    Nice work! It's just not clear to me how host migration is handled in dedicated server model. Is it simply just bringing a new server up with all the necessary credentials to talk to different client workers? Any states the backup server needs to have? (sorry if questions are naive). thanks

  • @anthonygrooms4015
    @anthonygrooms4015 3 года назад +1

    This video makes sense and all but what is the role of Mirror with all of this? Does it provide the transport layer? Does it allow unity to connect to all these needed services?

  • @JB10008d
    @JB10008d 4 месяца назад

    Do any of the engines have trouble with large scale multiplayer stuff?

  • @edusnapsity3207
    @edusnapsity3207 2 года назад +1

    project a lot because I've been working on other stuff (and being lazy lol). Also, I had been facing a recurring problem of content dropouts in

  • @harisahamed
    @harisahamed 2 года назад

    Can you share what the architecture would be for a jeopardy style game

  • @Kugelschrei
    @Kugelschrei 4 года назад

    Awesome, that rundown in the beginning really helped me!
    I am currently planning to turn my local multiplayer game, which is up to four players shared screen, into an online multiplayer game.
    The type of multiplayer I aim for is roughly comparable to speedrunners. Since there should never be more than four players in a game together, I assume it would be okay to use P2P.
    Since I plan to launch it on Steam, leveraging the Steam friendslist and join/invite features would be a big advantage.
    Do you have any tips regarding what kind of networking solution would fit here? I heard there is Steamworks P2P, but there are also other solutions out there. Can it be combined with mirror?
    Thanks for your content!!

  • @seanpaulson9098
    @seanpaulson9098 Год назад

    This was amazing dude it is Ardmore credit or a lot of money for this😊

  • @calccalccalc
    @calccalccalc 3 года назад

    Great, but the irony of re-making a fall guys multiplayer system isn't lost on me :')

  • @elliottk68va
    @elliottk68va 3 года назад

    It's looks like its been awhile since a video was added. I was just curious if this series was still in development?

  • @vishnuvkarthiku6714
    @vishnuvkarthiku6714 4 года назад

    Great content! I want to put up my first game.. is there any way I can host a multiplayer game on a free server?
    Apart from google, aws, azure , can you suggest any other options with less cost by compromising on scaling?

    • @ShrineApp
      @ShrineApp  4 года назад +1

      they all have very cheap options (starting at $3.50/mo). I don't think you'll find anything for free (unless it's a promotion or something) lol

    • @vishnuvkarthiku6714
      @vishnuvkarthiku6714 4 года назад

      Thanks!!

  • @whatamiwitnessing1003
    @whatamiwitnessing1003 3 года назад

    If I were to make a game with a dedicated server that does not consist of matches but a world that players can play in.
    Should I save player location to the database every once in a while?

  • @MuhammadBilal-cs3dg
    @MuhammadBilal-cs3dg 3 года назад

    Can you share this presentation please? Thank you

  • @d3zar
    @d3zar Год назад

    I program my own server with C# Socket library. My game server is handling one scene ( unity game ). Server, communicates with clients for one lobby. If i want to make a game server like Fall Guys. I have to program a Master Server. This master server have to handle lobby servers and players. Master server will must provide clients to exact lobby servers. So lobby servers have to be communicate with master. But i don't know how i can make this system in one single computer ( server's computer ). How can we make this ?

  • @Awark-f5w
    @Awark-f5w 2 года назад +1

    What font?)

  • @piztech5168
    @piztech5168 3 года назад

    I'm gonna tell my kids this was the college I graduated in

  • @user-th8pr7no5p
    @user-th8pr7no5p 4 года назад

    soo can u do matchmaking with player hosted client server p2p?

  • @speedrunnercaliorda2787
    @speedrunnercaliorda2787 3 года назад

    Good thing I want to make a game so simple it wont need any of that XD

  • @atifahmad6457
    @atifahmad6457 3 года назад

    Hello sir can you make a video on new Mlapi in unity?