Skip to content
/ GMD-API Public

API mod for working with GMD files in Geode

Notifications You must be signed in to change notification settings

HJfod/GMD-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GMD-API

A Geode mod for working with GMD files.

Installation & Usage

Add hjfod.gmd-api into your mod dependencies:

{
    "dependencies": [
        {
            "id": "hjfod.gmd-api",
            "version": ">=v1.0.1",
            "required": true
        }
    ]
}

Using the dependency works as such:

#include <hjfod.gmd-api/include/GMD.hpp>

// exporting a level
gmd::exportLevelAsGmd(level, "path/to/file.gmd");

// importing a level
auto level = gmd::importGmdAsLevel("path/to/file.gmd");

The dependency is available on all platforms!