Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Steamworks.gml example

Sample project for Steam-based networking for GameMaker. · By YellowAfterlife

Join a game that has started ?

A topic by MeLikePixels created Nov 17, 2017 Views: 926 Replies: 4
Viewing posts 1 to 4

Hello , is it possible to join a game that has started with this extension ? Indeed when you create a server and launch a game with steamworks, steamworks automatically destroys the lobby. Therefore is it still possible to display the game currently played and join them once it has started ?

Developer

The lobby is not destroyed on session start in the example, only made private. That said, invitations should still work for private lobbies.

(1 edit)

First thank you for your answer.

Sorry to insist but the documentation of steamworks explains that the lobby is automatically destroyed when game starts. See there

https://partner.steamgames.com/doc/features/multiplayer/matchmaking#2

Furthermore, I would like to display all the servers currently running so that anyone can join a game that has started. Do you think it is possible to achieve this with steamworks ?

Developer

As documentation states, the lobby is only destroyed when all players leave it - that is not done automatically, it is up to you to make players leave (or not leave) the lobby. The API is not signalized that the game has started as such.

There's a separate game server API for games that require long-time/persistent servers, but it is not covered in Steamworks.gml.

Ok I understand. Nice trick.