- Home /
how to make unity game multiplayer
Ok so, i wana make my game multiplayer just for me and friends. I dont want to be online just to lan via lan cable. Could you either point me in the right direction or give me the script. Just please help!
And yhanks in advance.
Answer by tanoshimi · Jan 02, 2014 at 10:16 AM
"give you the script"? ah yes, that well-known drop-in script where you just select multiplayer.enabled = true; and everything works...?
Your question demonstrates some naievity: networking is hard. Start here: http://docs.unity3d.com/Documentation/Manual/NetworkedMultiplayer.html Then go to Google or YouTube and search - there's plenty of material out there but expect to have to study it.
As tanoshimi says, there is no simple answer to this The fact that your game will just be ran for your friends on LAN doesn't change much. The only easiest thing is that you wont have to create an authoritative server
You'll have to rewrite almost all your code to work on multi
Your answer