NETWORKING - How to set up a large networking system? (Large general question)
Hello, fellow Godoters! I've been playing around with the networking features of Godot lately and I've build my first multiplayer game. It's a 5-in-a-row game where one player can host a game and another can connect, by pressing a "host" and a "join" button respectively. It works fine! but now I want to expand! I've done a lot of research but I haven't found anything that could help me to achieve what I want with my game, so maybe some of you might know what I should do. Here is what I'm thinking:
Imagine the 5-in-a-row game (or any other simple PvP game): I want people starting the game to be able to log in to their own client of the game so that they join a dedicated server set up for the whole game, sending them to a lobby where they can see who else is online. Then they should be able to host their own 1v1 games which anyone else online can join if they want. People should be able to interact with each other by joining each other's games and chatting with each other.
To achieve this I imagine some steps:
- Actually build the game (done)
- Set up an auth-system for login/registration of users (done with Firebase)
- Set up the server so that it fits the description of functionality above (NOT DONE)
- Move the server to some form of hosted service so that I don't have to run it on my computer (NOT DONE)
I know this is a large question and it might not be possible to answer it on a forum like this, but maybe some of you could point me in the right direction for achieving this and solving all of these steps? Thank you in advance!