Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/YAL-GameMaker/GMSDLL

A template for GameMaker C++ DLLs
https://github.com/YAL-GameMaker/GMSDLL

gamemaker gamemaker-studio gamemaker-studio-2 gamemaker-studio-2-3

Last synced: 3 months ago
JSON representation

A template for GameMaker C++ DLLs

Lists

README

        

# GMSDLL

This is a "template" project for creating C++ DLLs for GameMaker!

Intended to be copied via [copyre](https://github.com/YAL-Haxe/copyre), like so:
```
copyre GMSDLL MyExtension GMSDLL
```
(which copies GMSDLL/ to MyExtension/ while changing each occurrence of GMSDLL in files/names to MyExtension)

---
As part of first-time setup, you'll also want to add
[GmlCppExtFuncs](https://github.com/YAL-GameMaker-Tools/GmlCppExtFuncs)
and [GmxGen](https://github.com/YAL-GameMaker-Tools/GmxGen)
either to your PATH or to the project directory.

These are used as pre-build and post-build steps respectively and are used to streamline the update process - so that you can do
```
int64_t my_id = 0;
dllg int64_t get_id() {
return my_id;
}
```
without dealing with GM limitations or manually adding functions to the extension file via UI (see GmlCppExtFuncs documentation for details)