Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Another thought to my last question. If i were to do a client/server game with unity3d would i be able to do serverside programming with unity? if not can i use C# .net? if not then is there some sort of package or lib i can use with C++? is the communication just raw sockets?

share|improve this question

closed as off-topic by Byte56 Dec 5 '13 at 8:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are about "which tech to use" are outside the scope of the site. For more information, see this meta post" – Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Ouch, might want to improve your Accept Rate. All you have to do is hit the Green Checkmark in each of your questions. –  Joe the Person Jun 24 '11 at 20:27
1  
@fireDude67: I'd do it if i liked the answer :( or if it wasnt a wiki like question –  acidzombie24 Jun 24 '11 at 21:57
2  
Congrats, you went up 16.7% –  Joe the Person Jun 24 '11 at 23:17

3 Answers 3

up vote 10 down vote accepted

Unity's built-in networking is RakNet. As far as I know, inside Unity it's only really for peer to peer games (i.e. you can't really run a standalone server).

Most web games I know of that use Unity and have multiplayer use Exit Games' Photon. Paradise Paintball uses it. So does Atmosphir. You write server code in .NET that gets compiled to a DLL and run with their server software. There's a client DLL you can just drop into Unity along with your own specific code.

You can't distribute the server since it's licensed per machine you're running on, but if you just want clients to be able to connect to your servers then it's a proven solution for that.

share|improve this answer
    
hmm, good link, +1 –  acidzombie24 Nov 17 '10 at 16:01

There are multiple tutorials on network-based programming:

Network programming can be done in C#/Boo, not sure about JavaScript.

Another way to get client/server programming done is with Unity Pro/C++ Plugin

share|improve this answer

You can using this

Master server can facilitate connecting to your server.

Which would be most useful for fps or rts style games where players connect to each other to play a game.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.