+2 votes

I'm making a chance game and on my basic feature list I have multiplayer on it. I tried to dig for some videos on this topic but I found 2D multiplayer tutorials or nothing related to the matter. When I set it up I also have a question of "How to get this on a custom server."

If you can help in anyway, thanks! (P.S. If there are too many questions just focus on the starting the multiplayer question of the story.)

in Engine by (64 points)
edited by

1 Answer

+1 vote
Best answer

I would stay away from multiplayer for as long as you because it is very confusing. also to answer your question about a custom server. every computer has a IP address, it is like a social security number. a server is basically a computer that has lots of storage RAM etc. people use the servers IP address to connect to it. when people connect to it the game or company that owns the server usually get sent data from a computer then they send data back. for example a game might send to the sever on the client side the character position while the sever will send back the coordinate for all the other players. you can buy your own server but as you have assumed it costs a lot of money. https://lumaforge.com/jellyfish you can also run a server on your own computer if your game is small enough, but you will be super vulnerable to DOS or DDOS attacks. you would also have to use a good part of your house for the servers because they tend to back loud and take up lot's of space. there is a work around for this though. you could use a system where a player would get one of their friends IP address and connect to their computer. of course this puts battle royals out of question. the downside to having a multiplayer game like this is that most people would find it troubling and dumb, they could only play with their close friends, also not everyone knows how to find their IP address. you might have to rewrite a lot of code making a game multiplayer due to the sear difference in functionality.

by (57 points)
reshown by

Alright! Thanks! I I will put it later in my list.

You can use a pc or even a raspberry pi to run a server. So dont worry about that.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.