Making MULTIPLAYER Games has never been EASIER!

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 235

  • @CodeMonkeyUnity
    @CodeMonkeyUnity  10 місяців тому +12

    🌍 Get $800 FREE Credit for Game Server Hosting! prf.hn/click/camref:1101l96nj/creativeref:1011l121488
    🎮 Play my Steam game! cmonkey.co/dinkyguardians
    🔴 RELATED VIDEOS 🔴
    Learn Unity Multiplayer (FREE Complete Course, Netcode for Game Objects Unity Tutorial 2023) ua-cam.com/video/7glCsF9fv3s/v-deo.html
    COMPLETE Unity Multiplayer Tutorial (Netcode for Game Objects) ua-cam.com/video/3yuBOB3VrCk/v-deo.html
    Run your Dedicated Servers like a PRO! (Unity Game Server Hosting Multiplayer Tutorial) ua-cam.com/video/IvCVFywNXMc/v-deo.html
    How to use Unity Relay, Multiplayer through FIREWALL! (Unity Gaming Services) ua-cam.com/video/msPNJ2cxWfw/v-deo.html
    Making a MULTIPLAYER Game? Join your Players with LOBBY! ua-cam.com/video/-KDlEBfCBiU/v-deo.html
    Easy MATCHMAKING in Unity! (Skill based, Platform, Region - Tutorial) ua-cam.com/video/90Iw1aNbSYE/v-deo.html

  • @captainnoyaux
    @captainnoyaux 10 місяців тому +128

    it's certainly easier but not easy 😂. I'm making the multiplayer of my second multiplayer card game right now and it's hard AF 🤣. But yeah it's easier than before !

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +56

      Yeah multiplayer is always going to have some complexity, but comparing these tools to what existed 10 years ago is a massive difference!

    • @QWGamesOfficial
      @QWGamesOfficial 10 місяців тому

      I prefer the old Photon and Playfab☕️

    • @NachitenRemix
      @NachitenRemix 10 місяців тому +9

      Yes, pay attention to grammar "making multiplayer games has neven been easier" implies that it is now easier than before (or you could say less difficult) it doesnt neccesarily mean it is now very easy

    • @captainnoyaux
      @captainnoyaux 10 місяців тому +16

      ​@@NachitenRemixYep, I didn't contradict that 😊

    • @JaXuun
      @JaXuun 10 місяців тому

      my monitor had way less hz 10 years ago and was much thicker and heavier, but yes, its still a complex product@@CodeMonkeyUnity

  • @orewaminato
    @orewaminato 10 місяців тому +48

    You're doing a great job for both Unity and its students. Hope you're getting paid by Unity, you're awesome man!

  • @ikr0525
    @ikr0525 10 місяців тому +7

    This is what i was looking for. Im currently working on my multiplayer card game and already did the gameplay and ui. All that's left is the multiplayer side of it but i didnt know where to start. Thanks for this! 🎉

  • @VskutkuTrigen
    @VskutkuTrigen 5 місяців тому +1

    First time i see your face and honestly u sound nerdy but look extremely chad-ly.

  • @JC-jz6rx
    @JC-jz6rx 9 місяців тому +1

    Considering the latest unity blunders, they should pay you for being better PR than they are.

  • @SajDev
    @SajDev 10 місяців тому +3

    Great explaination and very informative, however it will be sensational to see a complete breakdown guide in one video in the same order starting from nothing to then adding everything as a tutorial of the decade 😅

  • @IdealIdleIncremental
    @IdealIdleIncremental 10 місяців тому +1

    Ha-ha, and here is me, trying to build my own game server completely from scratch :)

  • @GamesAreArt1
    @GamesAreArt1 10 місяців тому +3

    While all these tools are awesome and make things much easier but i have few Notes
    Before NetCode Unity had Multiplayer Hlapi, UNET, Unity Network. and Non have a long term support
    Making Unity missing a Multiplayer/Network Solutions for a very long time So any developer will go for alternative either do his Own Network solution or Use third party assets(Photon,Mirror,etc).
    I don't mind Using Netcode for GameObject but will it have Long term support?
    I can't use it in my game then suddenly it's no longer supported leaving me with many Bugs that i can't deal with.
    Thanks

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      That's a valid question, Netcode for Game Objects used to be called MLAPI (Unity bought it) which has existed since 2019 I believe so it has been around for a whie.
      And looking at the latest Unite they are clearly still pushing for it hard, so I definitely expect it to be actively supported for a long time

    • @GoogleDothBetray
      @GoogleDothBetray 10 місяців тому +1

      I 💯 agree, I used UNET as it was dying, then used third-party tools such as PUN and Mirror, then I used MLAPI that just disappeared one day, so I went and tried Photon Fusion: the successor to PUN didn't enjoy version 1.0/1.1 all that much it was quite annoying, so I just stopped.
      I saw NetCode for GO/DOTS: although this one looks it may be around for a while, I've simply got fatigue and trust issues when it comes to their own Network solutions.
      The one I want to check out is Fish-Net, I've heard good things and am looking forward to it.

    • @Angry-Lynx
      @Angry-Lynx 9 місяців тому +2

      Yeah don't bother they completely butchered MLAPI which was fantastic library before those unity tools bought it.
      Pun, mirror, mirage current proper free options.
      Ur welcome

  • @allaboutpaw9396
    @allaboutpaw9396 10 місяців тому +3

    Hello @codemonkey,
    I would love to see an authentication tutorial. Looked simple but apparently it's not :D Thanks for the knowledge sharing, continue the amazing job you do!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +2

      I made a super quick one ua-cam.com/video/1KSKRaacdKE/v-deo.html
      For anonymous sign it is it extremely easy. If you want to implement one of the many identity providers it does get a bit tricky. They are all slightly different so it makes it tricky to make a tutorial that is applicable to all. I talked about how I implemented the specific Facebook login on the UGC video unitycodemonkey.com/video.php?v=ShZUu5JwwyY

  • @MrOmega-cz9yo
    @MrOmega-cz9yo 10 місяців тому +2

    I've been playing around with Unity for a while, and have been thinking about trying a multiplayer game. Looks like it's time to give it a try.

  • @janikcodes
    @janikcodes 10 місяців тому +12

    I really hope unity adds support for client side prediction. It's really really important for most multiplayer games, yet it does not support it yet.
    Edit: Just heared that Dots Netcode does include Client side predicition which is amazing!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +7

      Yup that would be a great addition to NGO. Now that it seems that the core is pretty stable I hope they're working on features like those.
      I'd love to find some time to research DOTS Netcode to see how that implements it.

  • @eduardoromero3953
    @eduardoromero3953 10 місяців тому +1

    good video, excelent, I think only the Economy topic for in-game coins and Cloud Save for data storage are missing, good job

  • @Fossilsmudge
    @Fossilsmudge 2 місяці тому

    a deep dive into the authentication tool would be cool, especially the steam one, as you ahve made steam games before i think it would also be helpful coming from somene experienced!

  • @SebSha0
    @SebSha0 10 місяців тому +2

    Friendly reminder that those tools are not the only options, these are only the official ones. If they don't fit your needs you can always search for third-party tools or even make your own

  • @jouid33
    @jouid33 9 місяців тому +1

    Never been easier because these services are not for free and they cost a very hefty amount
    If you dont have a solid monitization method then you will be done for

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 місяців тому

      I just published my game recently and I haven't had to pay one cent. If you are an indie dev like me making premium games then the free tiers are very generous
      If you are making free to play games then yes you absoltuely need a monetization strategy to pay for servers

    • @jouid33
      @jouid33 9 місяців тому

      @@CodeMonkeyUnity please consider making a video on this matter in particular to share your experience,,, e.g. used provider and why you chose it... Utilizing the free tier and your own approaches... High level overview of your own general devlopment and testing online feature approach
      Thank you

  • @AlexSmith-oe6pr
    @AlexSmith-oe6pr 10 місяців тому +2

    Video is really very relevant for me, I always thought that for any network need to write own back-end servers and use queues, sockets.
    Maybe it's time to trust ready-made solutions on the market as an option, at least for the first time.
    As always, thank you for your work and sharing real experience!

  • @rajsah4667
    @rajsah4667 10 місяців тому +1

    But this all things don't have host migrations 😅

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      If you use Host in NGO then yes there's no built in Host migration, not sure if Netcode for Entities has it or not.
      With Game Server Hosting you have dedicated servers so it doesn't need host migration.

  • @ПавлоК-з9н
    @ПавлоК-з9н 10 місяців тому

    Man, your content is great however hence I'm not a native I barely understand what you're saying. Have to reduce play speed a bit to grasp

  • @Tekkenandgaming
    @Tekkenandgaming 10 місяців тому +1

    When you said moltyplayer games you meant co op??

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Netcode for Game Objects is primarily meant for co-op games
      Netcode for Entities is more suitable for fast paced competitive games

  • @SKIPAH
    @SKIPAH 10 місяців тому +3

    Great timing on this video. I just finished the singleplayer Kitchenchaos tutorial and now I'm starting the multiplayer section. Sounds really hard and I probably won't be doing any multiplayer projects in near future myself, but I'm learning so much from your tutorial series, that I want to finish it all the way now.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Nice! Multiplayer is indeed more challenging but also very doable thanks to all these awesome tools

  • @TheFluid
    @TheFluid 9 місяців тому

    Hi CodeMonkey, you say you reply to all your comments so i thought i would ask.
    I want to make game, with multiplayer, and lately i have read alot about FishNet Networking, but idk is unity multiplayer better if i want to make battle royale?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 місяців тому

      I have only ever used Netcode for Game Objects but I've heard great things about all other options like Fishnet, Mirror, Photon.
      So really just pick one and learn it

  • @BobsiTutorial
    @BobsiTutorial 10 місяців тому +1

    As far as I am aware, your game is purely on Steam. How come you don't utilize Steams relay?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Just because I haven't had the time to implement it yet, I will be adding the various Steam features in future updates

  • @ezoray
    @ezoray 10 місяців тому +2

    Hey Code Monkey, do you have any tips on client / server integration testing in Unity. I'm currently working on this (not UGS) and it's a wee bit painful, particularly the setup.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Hmm not really, that's an area I don't have much experience in, I know Unity has tons of DevOps tools but I'm not familiar with what they do or how they work

    • @ezoray
      @ezoray 10 місяців тому

      @@CodeMonkeyUnity I've not looked either as I'm just testing in the editor with the client and server objects in the same scene (it's actually a master server but i didn't want to over complicate the question). Not to worry, I have it working just the tests are a bit of a chore, some are harder to write than the code, maybe because I never liked the look of coroutines and I've steered clear of them up to this point. :)

    • @Angry-Lynx
      @Angry-Lynx 9 місяців тому +1

      Idk, for me it always seems like to much work to write automated tests for networking, it'd certainly be helpful, but I always just made minimal test scene where I tested manually some features+ just good old testing by playing game and debugging as needed

    • @ezoray
      @ezoray 9 місяців тому

      @@Angry-Lynx It is a pita but it's really useful for creating n number of clients and doing weird and wonderful things to try and break the server. I also want to make it as robust as possible as I plan to release it as an asset one day.

  • @abdiel_hd
    @abdiel_hd 10 місяців тому +1

    Hi CodeMonkey, I have a question: Do you use EasySave asset? Is it better to write your own save system or is EasySave enough?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      I haven't used it yet but I have heard great things about it, I think it's the highest rated save system on the store so it's probably very good

  • @DrewofDonuts
    @DrewofDonuts 10 місяців тому +1

    This was great! I really wish there was some documentation/resource/tutorial on using Netcode for Entities on a component/OOP project - definitely a gap there!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      I definitely would like to research it, it's been on my to-do list for ages but haven't found the time yet

  • @457Deniz457
    @457Deniz457 10 місяців тому +1

    And what would be best to use for an Browsergame (Like Shake & Fidget) with 10000+ players?
    Hack/Cheat-Safe.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      For that you probably need some complex back end server infrastructure, not just a single dedicated server. You can't possibly sync 10,000 players, you need some code to split them into multiple instances. Making it cheat-safe means never trust the client

    • @457Deniz457
      @457Deniz457 10 місяців тому

      @@CodeMonkeyUnity Thanks a looooot ! :)
      Hm so sadly there is nothing that i can just build in and use (?) 😕

  • @VaibhavShewale
    @VaibhavShewale 10 місяців тому +1

    im not even a game developer, still here!

  • @ArrowDEV-h7m
    @ArrowDEV-h7m 10 місяців тому +1

    What kind of game we build after following your free course.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Ideally, anything. The goal isn't to memorize the code in the course, the goal is to learn problem solving skills so you can then make any game you can imagine. But that's also a skill that takes time, so after you go through it build some simple games like Flappy Bird and Snake to test your newly acquired skills

  • @tusso4
    @tusso4 10 місяців тому

    I have a question... u can make MP Game using relay but working server side?, i mean, for security and all of that thanks!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Yes, Relay just handles transporting the packets through a 3rd server, it does not force or limit client vs host authrority

  • @haydzplayz143
    @haydzplayz143 10 місяців тому +1

    Thanks very much! Please make more tutorials on the tools featured!

  • @sceptiletops3760
    @sceptiletops3760 10 місяців тому

    Code monkey I´d like to know how to make a local multiplayer game with no servers or something like that, only multiplayer with conexion whther wifi or bluethoot 🙏🙏🙏🙏🙏🙏.
    Which tool would you recomend???

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +2

      For local wifi/LAN you can use Netcode for Game Objects, just connect to a local IP´
      For Bluetooth I'm not sure that's supported by NGO, Bluetooth isn't usually used for high speed gaming, so for that you'd look into some kind of Bluetooth connector and handle the data transfer yourself.

    • @sceptiletops3760
      @sceptiletops3760 10 місяців тому +1

      @@CodeMonkeyUnity I didnt know that Netcode for gameobject could be use that way, I'll try to figure out how to implement it on my game, many thanks for your aswer It was so much usefull.
      For the lobby then I'll Just use Lobby xd, saludos desde Honduras 🇭🇳

  • @herohuntstudios
    @herohuntstudios 10 місяців тому +1

    1st comment
    But this video has come on time for me, I am making my multiplayer game and things are going crazy

  • @RealRogerFK
    @RealRogerFK 10 місяців тому

    Relay can also be replaced with Steamworks Relay, btw. Which is free and everyone trusts Steam, although you're tied to Steam lol

  • @MM4GamesSupport
    @MM4GamesSupport 10 місяців тому +1

    what about Multiplayer board games like for example simple Tic-Tac-Toe games ,card multiplayer games , chess or any Kind of (Board Multiplayer Games) can make a video of how we can make a game like that or you can make a tutorial for principles of making a Multiplayer board game that would be great

    • @midniteoilsoftware
      @midniteoilsoftware 10 місяців тому

      ua-cam.com/play/PLHcOLPSLOK7OiZ2Gr6oNPqFlF93iTskmm.html

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +2

      It's all the same, data is just data. Instead of synchronizing a player position, like in my Kitchen Chaos course, you would just synchronize some kind of board action.
      Then if you want you could also make it asynchronous like I did it here unitycodemonkey.com/video.php?v=EEQfSmK1nXA

  • @play-good
    @play-good 10 місяців тому

    Cool but is this supported in unreal engine as well or just limited to unity????

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Some of these tools are engine agnostic, like for example Game Server Hosting and Vivox are used by Apex Legends which is not made with Unity

  • @triplezgames3882
    @triplezgames3882 10 місяців тому +1

    I never got used to those multiplayer tools, so I coded my own WebSocket Server in nodeJs and it's working like a charm

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Yup you always have the option of building your own

  • @MrKrinest
    @MrKrinest 10 місяців тому

    Hello @codemonkey, is it possible to create a vampire survivors like game using NGO? I've heard that you can't use many network objects.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 місяців тому

      It's probably not ideal for that kind of scale, maybe you could do it by synchronizing very little data for each enemy, but you're probably better off looking into Netcode for Entities

    • @MrKrinest
      @MrKrinest 9 місяців тому

      @@CodeMonkeyUnity thank you very much

  • @trvlonesurvivr3751
    @trvlonesurvivr3751 10 місяців тому +1

    This is not good. Since I have FPS multiplayer shooter I need to transfer from NGO to netcode for entities 💀

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Yes if you have a competitive shooter then you should indeed be using Netcode Entities. Although technically it's still possible to use NGO, you just have to build a lot of stuff yourself

    • @trvlonesurvivr3751
      @trvlonesurvivr3751 10 місяців тому

      @@CodeMonkeyUnity What is better though? If I want N4E then I have to learn DOTS then convert everything. Or is it better to stick with NGO and implement client side prediction and other systems by myself?

  • @2pingu937
    @2pingu937 7 місяців тому

    Literally all the worst products you can use for multiplayer dev lmao.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  7 місяців тому

      Why is that? What alternatives do you prefer?

  • @mohamedmusthafa1057
    @mohamedmusthafa1057 10 місяців тому

    Dude solve my Mystery please, Do i need to Solve Leetcode problems to Become a Gud developer?? Cause im using unity Last 2 years im gud at programming I can create all mechanisms myself with bit ai help But when i Went Leetcode i Feel Ashamed

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Leetcode is more about learning data structures and algorithms, not necessarily game logic
      So it certainly helps just like it helps with any kind of programing, but not necessarily directly applicable to game dev

    • @mohamedmusthafa1057
      @mohamedmusthafa1057 10 місяців тому

      Thanks im relief 😂

  • @druffyw
    @druffyw 8 місяців тому

    Good overview thank you. Can't wait for a tutorial on Netcode for Entities which still is very different and a much more "your on your own" sort of experience than "Netcode for Gameobjects" :-)

  • @apcrol
    @apcrol 9 місяців тому

    be carefull with all this easy to use multiplayer solutions, they cost a lot in the end and your fun free to play game could burn all your money fast

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 місяців тому

      They have very generous free tiers, I used a bunch of these tools in my latest Steam game and I haven't had to pay one cent

  • @overrideFunction
    @overrideFunction 10 місяців тому

    Stop tempting me to add multiplayer to my already massively scope creeped game! 😂

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      heh if it's not essential to the game then definitely focus on singleplayer first!

  • @kingbling7571
    @kingbling7571 8 місяців тому

    What is the free limit on Unity Relay? How many users can you have playing concurrently for free before you are charged? Is there a maximum number of hosts a game can have? Or like 100 people? Because a game like Lethal Company which has over 250k concurrently players peak. How would that work, would the bill be insane or something?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  8 місяців тому +1

      50 concurrent users, hosts count the same as users
      Yes Lethal company would pay quite a bit, a couple thousand, which is not much compared to the tens of millions of dollars the game has made.

    • @kingbling7571
      @kingbling7571 8 місяців тому

      @@CodeMonkeyUnity True. If you have a lot of CCU it also means the game is doing great which shouldn't be an issue then.
      One more thing, I read somewhere that Steam P2P is free of cost. So does it mean the cost only comes through if a relay is used? I'm sorry if this is confusing. Thanks for every reply though.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  8 місяців тому +1

      Yeah I believe Steam's Relay is free, the only downside is it only works on Steam. So if you publish your game on Xbox/Switch/Epic Game Store then you can't use it

  • @shayshay8295
    @shayshay8295 10 місяців тому

    Hey, I have all the knowledge in the world to make a game but I can't predict the pricing.
    Can you make a video about how much money you spent on a server and how many people were connected? Really appreciate it.

  • @JaguarPanda
    @JaguarPanda 9 місяців тому

    I tried to make a multiplayer bomberman game for fun, should be easy enough, plot twist: it wasn't

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 місяців тому

      What part did you have trouble with?

    • @JaguarPanda
      @JaguarPanda 9 місяців тому

      @@CodeMonkeyUnity hi, i had trouble building a working lobby, and in the gameplay scene, i made a mess with the server RPC commands and network variables, some animations were synchronized, others weren't, i couldn't figure out how to get the server to start the "victory / lose" scene when there's only 1 player left

  • @removechan10298
    @removechan10298 5 місяців тому

    for almost a DECADE unity had a 404 on multiplayer on their site, then they have this being dripped out. i guarantee if I start using it, they will cancel it within 4 months. tell me otherwise.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  5 місяців тому

      404 on what? UNet? Yup that one has been deprecated for ages
      Their current multiplayer tech, Netcode for Game Objects, has already existed for 5 years.

    • @removechan10298
      @removechan10298 5 місяців тому

      @@CodeMonkeyUnity that's not "multiplayer tech", that's socket code. multiplayer tech are queues, matchmaking, voice, servers, etc. I know unet was deprecated, what i didn't know was they'd recreated new services - when did they add matchmaking for instance?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  5 місяців тому

      I believe Matchmaker has existed since 2021

  • @nikodromikro
    @nikodromikro 10 місяців тому

    Can you make vodeo about monitize. your game with admob and... All ways

  • @danielbrunner58
    @danielbrunner58 10 місяців тому

    does Unity also offer a database solution where i can create different tables ?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      No, for that you'd probably use something like Azure unitycodemonkey.com/video.php?v=EEQfSmK1nXA

  • @TheMaarten04
    @TheMaarten04 8 місяців тому

    do you have any free/payed courses about netcode for entities?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  8 місяців тому

      Not yet but it's definitely on my to-do list for the future as soon as I can find the time

  • @mohankrishnasai8673
    @mohankrishnasai8673 10 місяців тому

    what u suggest for mutliplayer in VR

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Depends on the scale of the game, not whether it's VR or not. So for small scale, NGO, for hyper fast competitive massive scale, NE

  • @arturo8861
    @arturo8861 8 місяців тому

    Hello Codemonkey, I am very grateful for all your videos.
    I have a question, how much is the cost of the servers in relation to the ccu? I have searched for information about it and I have not found any plans for Unity's game server hosting, the matchmaker, lobby...

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  8 місяців тому

      The pricing page has all the details unity.com/solutions/gaming-services/pricing

  • @shafindev
    @shafindev 10 місяців тому +1

    Using fusion for a freelancer project such a mess.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Is it? I haven't used it myself but I heard great things about it

    • @shafindev
      @shafindev 10 місяців тому

      @@CodeMonkeyUnityits better than Photon Pun 2 in lag , latency but very unfinished. It misses lots of feature.

  • @alec_almartson
    @alec_almartson 10 місяців тому +1

    These are Amazing Tools, indeed. 😮
    Making Multiplayer Games is Easier... but it also comes with a bigger "Technical Debt' (i.e.: you have to spend some extra time and effort studying the Tools to make them work, or to even discover that they wouldn't work for your particular use case, and pick another one based on your analysis and study of what's available).
    I guess it won't be 💯 easy ever... because there's always customization and work involved, whether you create it from scratch, or if you use premade Tools and Templates.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Yup it's always up to the developer to use the tools in the way that best suits them

    • @alec_almartson
      @alec_almartson 10 місяців тому +1

      @@CodeMonkeyUnity yes.
      Thank you for making these videos, they are very helpful.
      Have a nice day teacher.

  • @testservicesssss
    @testservicesssss 10 місяців тому

    what a gigachad

  • @Hipernt
    @Hipernt 10 місяців тому

    Make a Titanfall Ripoff

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      heh that would be fun but just making a character controller that feels as good as Titanfall would be a huge challenge!

  • @ВиталийБромов
    @ВиталийБромов 10 місяців тому

    awesome

  • @KaasTVNL
    @KaasTVNL 10 місяців тому

    lol the drop of the mmo... oeps. sorry not sorry (just starting out here lol)

  • @kingbling7571
    @kingbling7571 10 місяців тому

    Omg you literally drop a video on multiplayer games, I was just watching your Kitchen Chaos video from start to end for the same thing!

  • @Shakor77
    @Shakor77 10 місяців тому +1

    Have you tried Mirror? I like the fact that it is a framework where you can develop both the server and client side in one place.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Nope never used it but I heard that it's great!

    • @Spartinus
      @Spartinus 10 місяців тому

      @@CodeMonkeyUnity try it in VR and make a tutorial about it that will hit for sure ;)

    • @unityUser
      @unityUser 6 місяців тому

      Use fish networking for the next level

  • @DennisDenchoDenchyaknow
    @DennisDenchoDenchyaknow 10 місяців тому

    Holy shit bro, you got that drip with that new hair, thanks for the tips :D

  • @rathodketan5551
    @rathodketan5551 10 місяців тому

    please create a tutorial about how to manage if I close my internet and start again in the netcode game.

  • @dap1859
    @dap1859 10 місяців тому

    This was an incredible video. W Unity sponsor.

  • @TacticalTopher
    @TacticalTopher 29 днів тому

    What about photon quantum 3?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  28 днів тому

      Yup also a great tool, you can use that instead of NGO or Netcode Entities

  • @MathsPlusGames
    @MathsPlusGames 10 місяців тому

    Great video, more on this topic please!

  • @eSTactics
    @eSTactics 10 місяців тому

    fishy network solution is the best for fps shooter games however you might not cover it as it isnt base unity

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Yup I've heard great things about FishNet

  • @JoachimPileborg
    @JoachimPileborg 10 місяців тому

    Never heard about Overcooked! before, but it looks like an inspiration for your Kitchen Chaos course... :)

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Yup! It's a great simple design that made it perfect for a co-op game example. I highly recommend the game, it's really fun!

  • @rsrivishwanath6724
    @rsrivishwanath6724 10 місяців тому

    what about the pricing

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      I covered the latest update here ua-cam.com/video/m4OzqgTa_hk/v-deo.html

  • @cesarstradiotto9253
    @cesarstradiotto9253 10 місяців тому

    Obrigado pelas dicas. Principalmente a respeito do Unity Netcode e Analytics.

  • @RomekjeG
    @RomekjeG 10 місяців тому

    You should really really make a tutorial about couch CO-OP. How to create it, how to manage different Player's UI and handle a pre-game lobby where players can join and leave. (like press X to join) , choose characters etc.
    There is no such tutorial yet out there!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Yup that's definitely something I plan to cover in the future because it's something I plan to add to my own game

  • @alaaalbokhari
    @alaaalbokhari 10 місяців тому

    Hi Code monkey , i really love your videos so can u make tutorial for the materials in unity like it is the most thing that i dont know how to use it right

  • @ObsessiveGames
    @ObsessiveGames 10 місяців тому

    Great video, thank you

  • @captainfox9029
    @captainfox9029 10 місяців тому

    You are right now the obly teacher that i make me understand unity in very simple and easy way, thank you so much for your hard work ,I am just asking if you can make a friend package explaining it, i tried to read and understand the sample but i didn't learn anything, so please do it if you can, and thank you

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Yeah that's one of the tools I'd like to cover in the future, I haven't looked at it yet but I think it should be relatively simple, I think it should only need to use Authentication to get a PlayerId to then add it to some sort of list.

  • @DevNohara
    @DevNohara 10 місяців тому

    Hey there's also Coherus which is pretty new!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Coherence? Looking at the website it looks pretty capable but I haven't heard much from actual users

    • @DevNohara
      @DevNohara 10 місяців тому

      @@CodeMonkeyUnity Yeah sorry I butchered that! lol.
      Yeah it's not as popular, but I've seen a couple videos about people using it and it looks pretty smooth! Their Discord also has a lot of talk from Users. Hopefully it can become more popular soon and they're also making a port for Unreal Engine which would also be nice for UE Users

    • @DevNohara
      @DevNohara 10 місяців тому

      They also have a video showing how they setup multiplayer in a few minutes on their UA-cam that makes it look so seamless 😲

  • @hamooo11
    @hamooo11 10 місяців тому +1

    I am a fan , reply

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Thanks for watching the video!

    • @hamooo11
      @hamooo11 10 місяців тому +1

      @@CodeMonkeyUnity thank you for making the video

  • @KrakenStudiosGames
    @KrakenStudiosGames 10 місяців тому

    Do they have IGYG server? I do a turn upload data, you pull the save file, you go, you upload the save file, I pull the data, I go, so on.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Like asynchronous multiplayer? There's no built in tool, but you may be able to do that mixing Cloud Code and Cloud Save, or use any cloud provider like Azure unitycodemonkey.com/search.php?q=azure

    • @KrakenStudiosGames
      @KrakenStudiosGames 10 місяців тому

      @@CodeMonkeyUnity It's not asynchronous. IGYG = I go, you go. Meaning I do my turn it resolved, save, you now do your turn, it resolves, save it, then it is back to me.
      Think of how chess plays.

  • @R4venshore
    @R4venshore 10 місяців тому

    You can't make a fast paced multiplayer fps with Unity without having a dedicated team for it, because it doesn't have client prediction. Just finished a prototype with their latest version with lobby and relay and it is still clunky as hell. Far, very far from anything that would be easy to use for indie game devs for production. The amount of bandwidth their transport currently uses it's also insane. Overall I'd give it 3/10 for usability, while they have a ton of useful shiny services and have made that bit easy to use. Not impressed at the slightest.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Netcode for entities does have built in client side prediction as far as I know

    • @R4venshore
      @R4venshore 10 місяців тому

      @@CodeMonkeyUnity No, they even reiterated that in the update from a couple of days ago, it says no client prediction still.

  • @L0g0Z0g0
    @L0g0Z0g0 10 місяців тому

    It seems to have same features as Photon just a little better, I don't really see a reason to relearn it considering the hosting difference.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      These tools are modular, you can use many of these in conjunction with Photon.

  • @watercat1248
    @watercat1248 10 місяців тому

    What network system is better for mid scale project
    The game I'm trying to make is fps with about 20max Player
    I don't think the host I will be have 20 nessery in fact I'm pretty confident 3 8 players the is the swit spot
    My game is more like old fps in scale and mekanics that means the Player's collect item for the map the alose means it's lobby base and I will make sure to have lan not only only option
    Think the scale off the multiplayer something like half life 1 and unreal tournament.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      It depends on how many object total you're tracking, not just the players. But with that player amount you're really on the edge of NGO, so if that large amount is essential then Netcode for Entities is probably best. But if you limit it to 8 NGO will probably work fine
      Is it multiplayer? Competitive shooter? If yes then yeah use Netcode for Entities

    • @watercat1248
      @watercat1248 10 місяців тому

      ​@@CodeMonkeyUnity to be honest im not sure abut this part because each player have 1 character model Hoeven the need to keep track wich weapon the hodl some bullet projectile and it may and some moving part on the map as well
      my question is if start using netcode for game object and run out objects that handle is eny way to reduce those i mean what i will happen spone more stuff that the host handle ?
      my game for thos stuff you say the need networking for some form Relay, Matchmaking, lobby, and it may add vivox friends but im not sure about it yet i will prefer if use netcode for game objects because i have 0 idea how dots work's.
      i will not say i will 100% Competitive shooter its more like half life 1 it's try to be balance and stuff like that but if i will not sacrifice the fan off the player in the order to by 100% Competitive
      it's host base game and i wand the option to enter and leave the game in middle off the Mach

  • @raymondf200
    @raymondf200 10 місяців тому

    Fishnet is the best choice to go with

  • @toprogress
    @toprogress 10 місяців тому

    Thank you so much for showcasing all these tools in one unique video! I had no idea how to make my game multiplayer technically speaking, but thanks to you I now have a starting point.

  • @spider853
    @spider853 10 місяців тому

    Hey, thank for the quick introduction of these tools!
    I have a question regarding your newly released online game and any online game in general that might encounter this issue.
    What would you do if your game gets massive online CCU or traffic which will cause the online bill to increase, while the players only payed a fixed price.
    Do you have some real money economy in your game?
    How would you balance that and how would you react if the bill surpasses your income?
    Would you turn off online?
    This is what keeps me wanting to try to add online to any game, as the bad economy might bring you down fast and even maybe in debt.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      The cost for each CCU is really tiny so that would really only be a problem if players played the game 24/7 for years which is pretty much impossible.
      If you are making a free to play game that is indeed a valid concern, but for a game like this where multiplayer is optional and has a premium price then those costs are unlikely to ever be a concern, as it stands I haven't paid anything at all for the multiplayer tools since I never went past the free limits.

    • @spider853
      @spider853 10 місяців тому

      @@CodeMonkeyUnity Thank you, so in case of cost going higher than the sales, just switch to a pay for service/usage model for players right? As I think getting the right micro transaction that might cover the cost in time is a stretch and might not be the right model from the start 👌👍

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  9 місяців тому +1

      If you're making a live service game like Apex Legends that you expect people to play continuously for many many years then yes you need some kind of recurring monetization to cover eventual server costs.

    • @spider853
      @spider853 9 місяців тому

      @@CodeMonkeyUnity Thanks, that put some light on my doubts 🙏

  • @deleuran1337
    @deleuran1337 10 місяців тому

    So should I try to learn this instead of Photon? I am new to multiplayer games and I am making small games to understand how it works, but should I use Netcode instead and try to learn that?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      Both are great tools, you can't go wrong with either of them, so just pick one and learn it

    • @Angry-Lynx
      @Angry-Lynx 9 місяців тому +1

      Photon good option to learn multi, cuz it's easy. Avoid unity made solutions, they incompetent

  • @ahmedzia8413
    @ahmedzia8413 10 місяців тому

    thanks, its great …

  • @MurexHyena
    @MurexHyena 7 місяців тому

    Now we need this video for unreal engine ..... 😅

  • @Xeros08
    @Xeros08 10 місяців тому

    I'm missing Mirror+Steamworks on that list 😊

  • @duelsoldier3048
    @duelsoldier3048 10 місяців тому

    How do you feel about using fish networking over NetCode for game objects? As fish networking seems far more developed and can do everything NetCode can do and more.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому

      I've heard great things about pretty much all networking tools, FishNet, Mirror, Photon, NGO, all are extremely capable

    • @Angry-Lynx
      @Angry-Lynx 9 місяців тому +1

      Any option is better than what unity craps out.
      It's like they have magic wand 🪄 with whatever they touch turns to 💩

  • @Mr_CROWdelusion
    @Mr_CROWdelusion 10 місяців тому

    Halfway through the multiplayer-part of the course and wanted to start creating a multiplayer game next month, so lucky timing! :D
    I wanted my final game to be in the scale of a MOBA-game (e.g. 5vs5 fights with minion-npc, skills, items..) with NGO - now i am worried that it is too big for NGO and i need to use DOTS, wich i don't know anything about. Is it worth start working on it with NGO in mind anyway? (You mentioned its possible to mix DOTS and "normal", although i have no clue how that works)

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      I think for that scale it could still work with NGO, it all depends on how many tracked objects in total, but it would definitely be pushing it to the limits, so perhaps Netcode Entities might be best for that scenario
      I haven't yet used Netcode Entities myself but the way you mix them is you simply have all the netcode logic using Entities then for all your visuals, UI, etc, you can use regular game objects and interact with entities through the EntityManager.

    • @Mr_CROWdelusion
      @Mr_CROWdelusion 10 місяців тому

      Thank you for the feedback, it helps a lot :D

    • @Angry-Lynx
      @Angry-Lynx 9 місяців тому +1

      Don't use either it'll make your life miserable.
      Look at solutions made by competent people, PUN is good start, the easiest for sure, other good options mirror, mirage

  • @mondzahn
    @mondzahn 10 місяців тому

    So should use Netcode for Gameobjects or Entities if i want to make a mobile versus game up to 4 players in a lobby since GameObjects is for smaller projects but for Coop?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      If you need super fast paced synchronization or massive amount of objects, yes use Netcode for Entities.
      If you're making a relatively small scale co op game, use NGO

    • @mondzahn
      @mondzahn 10 місяців тому

      ​@@CodeMonkeyUnitythank you

  • @doryukurosu7983
    @doryukurosu7983 10 місяців тому

    so no competitive multiplayer options for gameobjects?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +1

      Remember you don't have to go 100% DOTS on your games you can mix them with game objects, so you can definitely use DOTS Netcode with game objects

    • @GrayFoxware
      @GrayFoxware 10 місяців тому

      @@CodeMonkeyUnity Is there even a tutorial on such a thing? getting updated dots tutorials is extremely hard to find.

  • @mzh99
    @mzh99 10 місяців тому

    Clear, concise synopsis. Well done.

  • @JustBitsAndPieces
    @JustBitsAndPieces 10 місяців тому

  • @uriyhills
    @uriyhills 10 місяців тому

    Thanks for job

  • @BL4ZE506
    @BL4ZE506 10 місяців тому

    KAMEHAMEHA 💀

  • @shafindev
    @shafindev 10 місяців тому

    Hi

  • @Pa3BeDka_Gaming
    @Pa3BeDka_Gaming 10 місяців тому

    Hello, Code Monkey. I have been studying C Sharp on my own for over 3000 hours since I wrote "Hello World!" I study C Sharp and take information wherever I have to, from articles or from videos, since I don't have finances for the institute and the like. Please tell me, can I learn programming on my own if I don't have the opportunity to go to college?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +2

      I can tell you that I never completed college, (I tried going twice but failed both times) so all the knowledge I have is self taught, so yes you can do that.
      As for getting a job, that part might be harder if companies where you're from specifically request a degree, but you can definitely get much more knowledge just by yourself with an internet connection

    • @lanceroygames
      @lanceroygames 10 місяців тому

      If you're looking for a start. Codeacademy has many free interactive courses to get you started.

    • @mgordon1713
      @mgordon1713 10 місяців тому +2

      I never even took High School. I work as a Senior IT Operations Engineer.
      If you just have the will and dedication to do something it is possible, don't let anyone hold you back.
      With an internet connection you have the entire knowledge of the world available, you are only limited by your own capacity to learn.
      So go out there and fulfill your dreams!

    • @Pa3BeDka_Gaming
      @Pa3BeDka_Gaming 10 місяців тому

      Hello, Code Monkey. Thanks for the reply. There is one more request for you. Record a video on how to learn and consolidate the information you receive.

    • @Angry-Lynx
      @Angry-Lynx 9 місяців тому +1

      use chat bots to help learn they are great help for that imo

  • @ЮраГрицьків-р3л
    @ЮраГрицьків-р3л 10 місяців тому

    So 😎

  • @22hoursago
    @22hoursago 8 місяців тому +2

    this voice does not match the face loool

  • @berkefekeskin9172
    @berkefekeskin9172 10 місяців тому

    ugh... should i keep on goin using unity? after the recent fee etc...

    • @SantaGamerYoutube
      @SantaGamerYoutube 10 місяців тому +5

      don't ask this from UA-cam comments. Choose yourself.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  10 місяців тому +2

      If your main concern is in terms of trust, then the only person who can answer that is you
      However if your main concern is the fee itself, ask yourself how likely is your game to sell a million copies? And if it does, would a 2,5% rev share be too much?