
Inviting Steam friends to a multiplayer game is not supported by the GOG GALAXY SDK, but should be possible by utilizing both the Steam SDK (for handling invitations) and the GOG GALAXY SDK (for handling matchmaking and networking). The user is able to invite their GOG Friends only, either via the GOG GALAXY Overlay or directly from the game, using the GOG GALAXY SDK methods. Inviting GOG Friends to multiplayer lobbies is possible and fully supported, but available only when a user is logged in the GOG GALAXY client. Wait (and call galaxy::api::ProcessData) until you receive the AuthListener::OnAuthSuccess (or AuthListener::OnAuthFailure) callback.Īfter successfully signing in to GOG GALAXY, you can use the galaxy::api::Matchmaking() interface to create/list or join lobbies and the galaxy::api::Networking() interface to send packets of data inside a lobby.Put Galaxy64.dll (or Galaxy.dll) in the game folder.You may create separate builds of your game, one for each platform, then every build would perform authorization process according to the platform, but all builds would use the GOG GALAXY SDK for Multiplayer. To allow multiplayer connections between GOG and Steam users, you need to add both GOG and Steam (or any platform you want to integrate) authorization methods to your build, as well as implement the GOG GALAXY Multiplayer feature. Thanks to this, game builds on different platforms use the same (GOG) environment and are able to interact with each other - for example, users on different services are able to play with each other, because GOG GALAXY servers are handling everything. The way crossplay works is that you implement the networking stack from the GOG GALAXY SDK in your game and upload the builds to GOG and other platforms via their developer pipeline. How Does It Work? ¶Įach platform has its own multiplayer environment, and it is not possible to access one from the other. The general rule of thumb is to set up and receive proper credentials and certificates for your game in an external platform, then provide the necessary information to us, so that we can modify the ClientID properties of your product in GOG GALAXY environment. It is required to implement the GOG GALAXY SDK multiplayer in builds for all the platforms of the game for a crossplay to work. Our SDK allows connecting users on Windows/MacOS/Linux PCs with users on consoles. The GOG GALAXY SDK provides a crossplay feature allowing users to create and join each other’s multiplayer games, regardless of what platform they use. Lobby Management In Game: Examples of Implementation Lobby Management in Main Menu: Examples of Implementation Lobby Browsing: Examples of Implementation Lobby Creation: Examples of Implementation

Stats and Achievements: Example of Implementation


Importing Achievements Using the Steam VDF File User Authentication Based On Other ServicesĪuthorizing GOG GALAXY Users in Third-Party Services Preparing Depots for macOS Application Bundle Our Recommendations for macOS Game Structure
