Skip to main content

The SDK

@fruit-pie/sdk is the central package for writing a mod: it lets you declare resources and talk to the running game without worrying about what GameMaker version you're targeting.

At its core is a single function, createMod, which takes a callback where you declare everything the mod needs:

import { createMod } from "@fruit-pie/sdk";

export default createMod((mod) => {
// declare resources here
});