An Extension for GameMaker Studio 2 (GMS2) that gives GMS2 Windows Target support for the GDK allowing them to be released on the Microsoft Store and use XBox Live functionality (for those developers that have access through id@xbox, see this link for more information on id@xbox).
For more information on how to use the GDK Extension check our tech blog and for extra details on configuring the Partner Center check out our zendesk article.
NOTE: Only Windows x64 Target is supported by the GDK, ensure that your GMS2 project has the x64 option selected in Options → Windows → General
This repository contains the source code for the DLL that implements the GDK functionality that is exposed to GameMaker games, it is written in C++. It also contains an example GMS2 project that contains the extension definition and illustrates how to use the extension.
- Install VS2019 - see https://visualstudio.microsoft.com/downloads/
- Install GDK - see https://github.com/microsoft/GDK/releases/tag/October_2021_Republish
- Install CMAKE - see https://cmake.org/download/
- Clone this repository (NOTE: This repository has submodules)
- Open the Visual Studio 2019
- Open the Solution in DLL/GDKExtension.sln
- Go to (Project Properties --> C/C++ -> General -> Additional Include Directories) and add the path:
C:\ProgramData\GameMakerStudio2\Cache\runtimes\<current-runtime>\yyc\include\
(may be different in you system) - Select the Debug|Gaming.Desktop.x64 or Release|Gaming.Desktop.x64
- Build
NOTE: Output from this build will be copied into the GMS2 GDK project
Open the GMS2 Project in this repository from GDK_Project_GMS2/GDK_Project_GMS2.yyp file.
NOTE: Full documentation is in the project included files.