Jump to content
  • Advertisement
ebenknot

Need advices wich tool use.

Recommended Posts

Hello,i am developing a 2D game with a friend,and we need to make the multiplayer.the game is only multiplayer.we are looking for the same multiplayer than for example the Slither.io.just put nickname and go to play online with more people.what do you think slither.io uses for its multiplayer?thanks for the attention! :):)

P.D: i use C# for programming

Edited by ebenknot

Share this post


Link to post
Share on other sites
Advertisement

My guess is slither.io uses node.js with JavaScript (perhaps TypeScript or some variant,) and uses WebSockets. There's a built-in module in node.js for WebSockets.

Btw, slither.io has occasional significant lag spikes, presumably because of the JS garbage collector, and/or because of the TCP data-blocking behavior when some packet is lost. If your game has action elements, this may or may not be good enough for you. Then again, if you need to run in a browser, then WebSockets is pretty much the only viable choice.

 

Share this post


Link to post
Share on other sites

thanks for the reply.we are making the game in unity for android and iOS.Now we are using UNET and taking our PC as the server.but in future we want to pay servers.Do you think is better to pay servers?or if i pay unity plus i will get servers?i dont know about that.Thank you very much for the attention :)

 

P.D. our game doesnt have much action elements,only the contact between the players is important.

Edited by ebenknot

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!