#Do I need a Lobby Manager to invite players to my game, or is there another way?
1 messages · Page 1 of 1 (latest)
No you do not need LobbyManager for anything
Its just a tool to help you connect Unity uGUI elements to concepts around Steam Lobby for a specific lobby
so for example if you have a lobby X
that lives on Steam backend not in your game
but if you wanted to update an UI element every time someone joind X
well LobbyManager can help with that
it listens for cahnges on the lobby you have set to it
you can also use it to search for lobbies and create lobbies
but you DO NOT require it
you can work with lobibes via the LobbyData struct
or the Matchmaking API
LobbyManager is handy for exposing events and fields pertaining to a specific lobby to the GameObject system and your Unity Editor inspector
again usually used to hook a UI up to a lobby
... also know that a user can be a member of up to 3 lobbies
and that Steam Lobby
IS NOT
a network feature
a Steam Lobby is basically a chat room
its used to establish communication between 2 or more players
it can also be used for matchmaking and similar as a result of taht
e.g. you can create a lobby, set some "metadata" on it and then other players can search for a lobby that matches some arguments which will match again your metadata, and will also account for proximity, available slots, and age
... anyway
Steam Lobby ... IS NOT ... a networking feature
you DO NOT require it AT ALL for anything networking based or anything else for that matter
many devs would find it a very handy tool for common tasks when setting up a mutliplayer session
e.g.
- Matchmaking
- Discovery (how a user knows what to connect to)
- Chat
- per authentication/validation
but you can also just connect to the server ID if you know it
Lobby is just 1 of many ways to "know" what ID to connect to
and there is no such thing as a dedicated lobby
I expect you have a confused idea as to what a lobby is based on unfortunet naming that some HLAPI (networking tools) use
a Lobby
as in the english word
means the place or space before
for example a "Hotel Lobby" is the area you are in before you go into the hotel proper
or a "Dentist Lobby" is the room you are in before you go into the dentist office room
so a "Game Lobby" or a "Network Lobby" is the place you are in BEFORE you connect to a network
it is not a server
you dont connect to it
Some people find this picture helpful
its from this article on multiplayer design
https://kb.heathen.group/guides/design/multiplayer#common-workflow
You can learn more about what a Steam Lobby is here
https://kb.heathen.group/steam/multiplayer/matchmaking-tools
that article goes through concepts, common use cases and has some examples for both Unity and Unreal
ah makes sense, thank you for your quick and long response!