LMAO! dude. I was just thinking. Why is every tutorial of netcode s weird. I just want a diagram of the overall process and how each componet is assembled in a blueprint manner not just a 'write this and now it works' 100% satisfaction. subcribed
Awesome video. I am developing games for many years and gone through tutorial hell before. But this was so clear, concise and to the point. Really well explained, thanks for the help!
I am not sure if Steam provides servers. Because the Netcode for GameObjects logic is separated from the transport layer, you should be able to use it with any server.
I'm curious how this whole concept could be applied to games without a player controlled character. Let's say a card game, where the players don't control a character but all have a different hand of cards displayed to them. Do you think games like card games, text adventures or turn based fighting games could be implemented using Netcode for GameObjects ?
You can make pretty much any game (up to 16 players) with NGO. You dont have to assign the player prefab or you can have just some player manager script without a sprite etc.
This might sound like a dumb question because I’m new to all this but Is this only for pc and 2D games? Because I want to use this for a 3D car game on mobile is it possible?
On each player you can store a NetworkVariable containing some ID or index of the sprite that the player selected. Then you can change the sprite of the SpriteRenderer based on that variable.
What if we have 2 different prefabs, i mean it’s like first one is blue player (host) second one red player (client)and both are different prefabs, then how it works
Yes that could be done using NetworkVariable. Just pass the data you are trying to sync and if a float or int isn't enough, you can create class holding that data. That will need to inherit from INetworkSerializable.
hey man love it but i want to create a local host for android in which ip address of host will be added automatically or makin a local multiplayer that connect both on pc and android help me with this concept really want to learn also make a course love to purchase
Netcode for gameobjects is not simple at all when it comes to client-predicted server authoritative movement cause it doesn't have one. Good luck with that and see you using fishnet or Netcode for entities soon or even Unreal Engine 😅
LMAO! dude. I was just thinking. Why is every tutorial of netcode s weird. I just want a diagram of the overall process and how each componet is assembled in a blueprint manner not just a 'write this and now it works'
100% satisfaction. subcribed
Thanks, I am glad you liked it!
Dude hats off for making a tutorial on this. Probably like 2 or 3 good ones out there now there are 4. Thank you!
I am glad it was useful. Thank you too!
Awesome video. I am developing games for many years and gone through tutorial hell before. But this was so clear, concise and to the point. Really well explained, thanks for the help!
Thanks, I love to hear that!
Nice and comprehensive video!
I am glad you liked it!
Great tutorial! Your video is very useful, organized, and easy to follow. Awesome job!
Thanks, I am trying my best!
Thanks for this, there was a couple of things I'd not considered until watching it 🙂
You are welcome!
awesome. Can't wait for the server authoritative approach!
Will be out this Monday!
I saved this video in playlist for later, first need to do single player. :)
Great. Good luck!
@@freedomcodingThank you! By the way, are you working on your game/games or you do only tutorials?
Would steam be a better thing to use if you're only planning to release on steam anyway?
I am not sure if Steam provides servers. Because the Netcode for GameObjects logic is separated from the transport layer, you should be able to use it with any server.
@@freedomcoding I think steam have only peer to peer...
I'm curious how this whole concept could be applied to games without a player controlled character. Let's say a card game, where the players don't control a character but all have a different hand of cards displayed to them. Do you think games like card games, text adventures or turn based fighting games could be implemented using Netcode for GameObjects ?
You can make pretty much any game (up to 16 players) with NGO. You dont have to assign the player prefab or you can have just some player manager script without a sprite etc.
This might sound like a dumb question because I’m new to all this but Is this only for pc and 2D games? Because I want to use this for a 3D car game on mobile is it possible?
That is something I forgot to mention. You can use NGO with any type of game on any device.
Very cool video! I really like how easy that is.
Thanks! I like it too.
Nice work mate!
Thanks!
how you you go about to add different "sprite" for different player ? it's something i always wanted to do in a mutiplayer game.
On each player you can store a NetworkVariable containing some ID or index of the sprite that the player selected. Then you can change the sprite of the SpriteRenderer based on that variable.
What if we have 2 different prefabs, i mean it’s like first one is blue player (host) second one red player (client)and both are different prefabs, then how it works
The simple way would be to keep the same prefab and just change color of the material if it is client.
@@freedomcoding what if we have completely different models
@@baydanemre Then you could change the model the same way.
@@freedomcoding could you do the same thing with say a canvas? if I wanted the players to have separate UI elements?
teach us how to use steam transport pls!
I put it to my list. Maybe some time in the future.
for some reason it tells me when i build the game that NetworkBehaviour doesn't exist
So you are getting the error in Unity or in a log of the build? What exactly does the error say?
I am trying to sync the state of the mesh renderer on a material using NetCode. Would you be able to help with that?
Yes that could be done using NetworkVariable. Just pass the data you are trying to sync and if a float or int isn't enough, you can create class holding that data. That will need to inherit from INetworkSerializable.
Will you make a video showing how to connect multiplayer with Steam?
I think I would have to publish a game to Steam for that... I will see.
Hey bro can do one tutorail how use aws ec2 for unity netcode multiplayer .
Hi, that is not on my list currently.
hey man love it but i want to create a local host for android in which ip address of host will be added automatically or makin a local multiplayer that connect both on pc and android help me with this concept really want to learn also make a course love to purchase
Hi, you can use Relay for that. I made a tutorial on it recently. I will see about making online course. Thanks for the idea!
Good video!
Thanks!
Netcode for gameobjects is not simple at all when it comes to client-predicted server authoritative movement cause it doesn't have one. Good luck with that and see you using fishnet or Netcode for entities soon or even Unreal Engine 😅
Yeah there is certainly more complicated stuff, but it is simple to setup for non-competetive games. I will get to Netcode for entities some time :D
@@freedomcoding Good luck mate . btw , I liked your dots tutorials
@@StarDynamics Thanks, good luck to you too! I am glad you liked them.
Only 16 players in a session?
16 players is just a suggestion by Unity. If you plan to have more, you should use Netcode for entities.
please add subtitile hindi
You should be able to auto-translate it by clicking on the gear icon and going to subtitles.
@@freedomcoding no options are avilable only english
@@freedomcoding please add this like mr,.. bisht