Generates blank GameMaker Studio 2 projects.
npm install gamemaker-make-projectnpm i gamemaker-make-project -g
gamemaker-make-project
gamemaker-make-project . - Shorthand for current directory.
npm i gamemaker-make-project --save
js
const { makeBlankProject } = require("gamemaker-make-project");
// give a path to a non-existant project.
makeBlankProject("new-project/game.yyp").then(() => {
console.log("Done!");
});
`
... or use typescript.
`ts
import { makeBlankProject } from "gamemaker-make-project";
// give a path to a non-existant project.
makeBlankProject("new-project/game.yyp").then(() => {
console.log("Done!");
});
``