Skip to content

A native extension for SDK support in GameMaker: Studio / GameMaker Studio 2


Notifications You must be signed in to change notification settings


Repository files navigation

Note: in GM2022+, this extension is superseded by the official GOG extension

Maintained by: YellowAfterlife

This extension wraps SDK for use in GameMaker: Studio and GameMaker Studio 2 games.

It covers the basic functionality - achievements, stats, and leaderboards, plus a few other commonly used functions.

Naming convention used here follows that of built-in Steam functions, so if you've done Steam integrations for games before, you'll have an easy enough time with this.

Note: you need to be an approved developer on GOG Galaxy Dev Portal to make use of Galaxy SDK.

Quick links


Download or clone the repository.

Create a "GOG" directory and extract GOG SDK (v1.138 was used as of writing this) into there.

Binaries are then built as following:

  • Windows: Open the included Visual Studio project (GOG.gml.sln; VS2015 was originally used) and compile for x86.

    This will also automatically set up new functions in the extension if you have gmxgen added to your PATH.

  • Mac OS: Run You'll need XCode command line tools installed.

Once new binaries were made, you can either add the updated extension to your project directly (by drag-and-dropping it onto the workspace area in GMS1/GMS2) or open the test project in GMS1, export the extension to GMEZ, and import it to your project.

Special thanks

  • David of Vertigo Gaming for sponsoring initial development of this extension for use in Cook, Serve, Delicious! and Cook, Serve, Delicious! 2!!.