x


Where is a free, helpful tutorial on how to use Unity's networking?

I've been looking for a JavaScript tutorial on Unity's networking for a while, but none of them come without a cache (whether it's signing up for a $100 membership to this website or buying it from the asset store...). Is there any tutorial out there that explains how to script networking in Unity, not "what" and RPC is and "what" a NetworkView is? Because I've read what those are in the documentation and I'm still completely clueless as to how to actually script something network-related.

If it helps, what I was hoping to do was some kind of LAN-based connection between 2 players or more and have them show up real-time in an FPS game.

If you could leave any helpful links/examples, that would be great!

more ▼

asked Oct 17 '11 at 04:29 AM

SirMacJefferson gravatar image

SirMacJefferson
124 20 25 28

Just try it out! That's what I did. Experiment, and come back here when you run into a roadblock. It helps if you have two computers to test with, though.

Oct 17 '11 at 04:54 AM syclamoth
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first
more ▼

answered Oct 17 '11 at 10:32 AM

Graham Dunnett gravatar image

Graham Dunnett ♦♦
18.5k 12 23 82

Heh !! :)

Oct 17 '11 at 12:29 PM Fattie

Thanks! Just wanted to quickly let you know that every time I come to Unity Answers with a question, I do it after trying to find the answer myself. So yes, of course I know of Google, of course I searched Google beforehand, and of course I strolled through a dozen articles and found each one wasn't helpful.

I saw each one of those except for the 3rd link, which I'm looking at now.

Once again, thanks and I'm not trying to be rude, as I'm sure you weren't, either.

Oct 18 '11 at 05:33 AM SirMacJefferson

FYI, pretty much all the links listed in this answer have been removed. Unity removed its networking example project and its multiplayer tutorial (don't know why). M2H only offers his tutorial in a paid version (which was listed twice in the above list). The only unique link in the Best Network Tutorials is from design3d, which requires you sign up, but may be free, I haven't run that done yet.

Feb 10 '13 at 12:06 AM Shizen
(comments are locked)
10|3000 characters needed characters left

Use this. It's $2 but SO worth it. took me from zero knowledge to having almost build a fully networked FPS with vehicles :)

http://forum.unity3d.com/threads/159238-New-Unity3D-Networking-eBook-and-Tutorial-with-Code-Samples

more ▼

answered Mar 13 '13 at 01:36 PM

kaiber gravatar image

kaiber
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5390
x1182
x402
x186

asked: Oct 17 '11 at 04:29 AM

Seen: 5921 times

Last Updated: Mar 13 '13 at 01:36 PM