Skip to content

PlayEveryWare/GDKExtension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameMaker Studio 2 - GDK Extension

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

Table Of Contents


Contents of this repository

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.


Building this Extension

  1. Install VS2019 - see https://visualstudio.microsoft.com/downloads/
  2. Install GDK - see https://github.com/microsoft/GDK/releases/tag/October_2021_Republish
  3. Install CMAKE - see https://cmake.org/download/
  4. Clone this repository (NOTE: This repository has submodules)
  5. Open the Visual Studio 2019
  6. Open the Solution in DLL/GDKExtension.sln
  7. 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)
  8. Select the Debug|Gaming.Desktop.x64 or Release|Gaming.Desktop.x64
  9. Build

NOTE: Output from this build will be copied into the GMS2 GDK project


Running the GMS2 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.


Packages

No packages published

Languages

  • C++ 61.9%
  • Yacc 32.2%
  • Game Maker Language 4.5%
  • Other 1.4%