Hello i am Menno 13 years old.
My dream is to making games but i want to learn how to make multiplayer games where can i learn this?
Have you got any programming experience/knowledge yet? If not, you can forget about the multiplayer part the next few years.
Forget multiplayer, make some single player games, then try to wrap your heard around it. It’s very hard to wrap your head around networking. Check out UnityCookie and watch there networking basics tutorial if your stubborn. ![]()
PS: I started at your age, it’s the perfect time to start in my opinion.
It’s not that hard. Checkout photon cloud.
There are several tutorials out there but mostly for the basics. We have one of our own, too:
Aside from the basics, you should really experiment a lot and read as much as you can find. The problem is that few solutions are general enough to be applicable to all games alike. For example, the “simple” task of hiding lag depends on the game and control scheme you want to do. So experimentation is good to learn.
i can make singelplayer games like weapons shops en shooting i make dutch tutorials ![]()
whats wrong with starting of something other than multiplayer because im 14, and i started working around networking with js and c# and then started singleplayer, lol i did vice versa here. Anyways to make a multiplayer game you have to use various classes and function, these here can help you get started
:
var useNat = !Network.HavePublicAddress();
Network.InitializeServer(32, 25600, useNat);
MasterServer.RegisterHost(“MyMode”, “MyGame”, “MyComment”);
and to connect to a server:
Network.Connect(IpNum, 25600);
then use these functions to enhance the host and join functions:
OnServerInitialized()
OnPlayerConnected()
OnPlayerDisconnect()
OnConnectedToServer()
OnDisconnectedFromServer()
OnNetworkInstantiate()
also these:
Network.Instantiate();
Network.Destroy();
Network.Disconnect();
Network.connections;
and so these too:
isClient
isServer
Network.peerType
NetworkView.isMine
these will help you make a Multiplayer script for start up :). Hope it helped
Also, just because someone is young, it doesnt mean they HAVE to begin basic, some young people might now more than you do.
I know that, I’m 16 years old and just started with networking. But often a lot of people don’t realize how much work can be involved in something that might seem pretty obvious to the end user. He also didn’t sound like he had experience in programming, although he may have plenty (not sure)
It’s generally accepted to start out small and expand on that further, but taking too large steps will likely result in nothing.
I think its eazy to start with RPC but how can i ask te postiion of all players?
just add a networkview component to your player prefab.