Sign in to follow this  

How to go about a lobby based game.

This topic is 813 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm making a multiplayer lobby based fighter game. I want there to be accounts and weapons bound to accounts.

how should I go about this?

Skills:

I can use Unity.

I know Ruby, Javascript, Python, C++ and Java

Share this post


Link to post
Share on other sites

Hi, not much of a professional when it comes to this topic, but if I understand your goals correctly you are going to need a back-end / server-infrastructure.

For creating a client-server or a peer-to-peer game nothing "extra" is required, you can simply use the built-in networking api in Unity (as I know the new one is called Unet, but there is a legacy one if you use an older version). This will allow you creating a game where multiple players can play together over network.

For storing accounts, their data (like weapons/items bound to accounts), authenticating users and for registering dedicated servers or players hosting games, you are going to need a server machine and a back-end service/software. This is a whole different animal type than both the client application or the game server code/application, and I guess a lot of work if you don't really know what you are doing :(.

I would most probably go for the first goal at the beginning, and stack up knowledge about the second as I go, or find someone who is capable and can develop the second part, but if you insist on going forward, you should look into following technologies:

Database tech, SQL comes to mind (free SQL server: MySQL)
Back-end and server tech, maybe in your case this could be done using a web-server with a language like php (Ruby and Python is a common choice too), or you could develop a dedicated server application accessing your database using Java or C++.
You are going to need hosting too for your back-end, a virtual machine or a dedicated server machine or some kind of cloud solution.

Again, not proficient in this area, but as the general steps, something like this is correct...

Share this post


Link to post
Share on other sites
For the lobby, you will need some kind of stable online server, with a name, that can be found.
The rest sounds like you can build it in top of the Unity networing API. You'd also need to use a database plugin of some sort for the Unity-based server, or use the WWW class to use a web-based database interface.
Can't really give more details without more specifics about what you have tried, what works, what doesn't, etc.

Share this post


Link to post
Share on other sites

This topic is 813 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

Sign in to follow this