• Register
Forum Thread
  Posts  
Adding a multiplayer side on your game? (Forums : Coding & Scripting : Adding a multiplayer side on your game? ) Locked
Thread Options
Jul 4 2014 Anchor

Hi, I'm new to this site and also new to this whole indie game development world so any advice would be a huge help :)

I've been working on my first game for the last 6 months and it's now almost done. The thing is, I realized that my game would be a lot better if it had a multiplayer side to it, but when I tried to look up the subject, people were saying that if you didn't have any experience on that, it would be better to first finish up your game and worry about it later. So now that my game is coming to an end I really want to learn how adding a multiplayer side on my game works.

So yeah, any advice, links or post that could help me on how to approach multiplayer from someone who doesn't have any experience on that would be greatly appreciated :D

Jul 4 2014 Anchor

Look into how Sockets work, you didn't mention which language(s) you prefer so it's hard to give you tutorial links :) But there is tons of socket tutorials out there for any language. After that you need to decide whether or not you want to p2p the multiplayer, or have the clients connect to a server that handles the logic. Different games require different approaches in that regard, basically if you want many players or want to ensure the integrity of the logic you will want to go with the server approach - eg. the client is dumb to most of the gameplay logic and just displays the information it receives from the server.

Jul 4 2014 Anchor

Oh sorry I'm using Unity and my project is all in C#. And I'm not sure what p2p the multiplayer works :( but my game would be kind of like Call of duty dead ops if you've ever played it, where there would be maximum 4 player on the map. And thank you for the tips :) I'll be looking into how Socket works.

Jul 4 2014 Anchor

Multiplayer is not something easy to add but also it isn't something necessary. First of all it requires Network Programming knowledge, which is way different than Gameplay Programming. A Peer to Peer Network (P2P) is when a certain amount of computers connect together and share the same amount of resources in order to complete a certain task (In our situation play the game) without the need of a central server. The other model of connection is a "Client-Server' model where a client connects with a Server (Which has all the resources) in order to complete a certain task. (Sorry if I am making a mistake here, I don't know Network Logic and Programming in a high level). What I would suggest would be to keep the game as it is and publish it, when it is ready of course. In the occasion you see that the game has a decent level of popularity then you may consider adding Multiplayer. At that moment when you are almost ready in publishing your first Project, Multiplayer shouldn't be one of your worries.

--

Solving mysteries, unveiling secrets of the past and smacking criminals in Video Nasty!
Video Nasty

Jul 4 2014 Anchor

Yeah.. I think you might be right because I started looking up on how Socket, P2P, works and I kind of do understand the idea behind it but I really doubt that I could implement it on my game and make it work really well without spending a good amount of time into it.. But the thing is that since it's my first project and that I'm really new to all this I was kind of scared that no one would be interested unless my game had multiplayer in it. But now I think that it will be better to simply take the chance and see how it goes. Thanks for the advice :)

Jul 4 2014 Anchor

In my opinion Multiplayer is overrated and the idea that the game will fail because it doesn't have Multiplayer is an ugly stereotype. Looking forward in seeing footage from your game, best of luck. :D

--

Solving mysteries, unveiling secrets of the past and smacking criminals in Video Nasty!
Video Nasty

Jul 4 2014 Anchor

Thanks :)

Sep 18 2014 Anchor

Some serious components you should look into when creating multiplayer networking for your game are; Pipelines & Sockets

Sep 20 2014 Anchor

Okay, I'll watch some tutorials on those to understand them better :) thanks

Oct 19 2014 Anchor

I recommend this one:
Gafferongames.com

It's a useful article about game networking.
If you find it hard to develop a library of your own for networking,
you can always use available open sourced tools (Like LidGen or LidGren i forgot).

Oct 29 2014 Anchor

oh, this will definetely help me, thanks for the linkk iDeveloper :)

Nov 3 2014 Anchor

i have same problem to bring us game .it s mmorpg but i cant scripts function in game i make virtual serwer i cant find right people to finish this project .please some suggestion or help.i make topic no only here .i never see same hard project.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.