@inglorious/create-game
v1.0.7
Published
A scaffolding tool to quickly create a new game with the Inglorious Engine.
Downloads
208
Maintainers
Readme
@inglorious/create-game
The official scaffolding tool to quickly create a new game with the Inglorious Engine.
This package allows you to generate a new project from a set of pre-configured templates, so you can start developing your game right away.
Usage
To create a new game, run one of the following commands in your terminal. You will be prompted to choose a project name and select a template.
# with npm
npm create @inglorious/game@latest
# with yarn
yarn create @inglorious/game
# with pnpm
pnpm create @inglorious/gameThe CLI will guide you through the setup process, asking for a project name and which template you'd like to use.
Templates
The following templates are available to get you started:
- minimal: A minimal starter template that requires no bundling: just HTML, CSS, and JS.
- js: A starter template for a plain JavaScript project, bundled with Vite.
- ts: A starter template for a plain TypeScript project, bundled with Vite.
- ijs (IngloriousScript): A starter template for a JavaScript project using IngloriousScript, bundled with Vite.
- its (IngloriousScript w/ TypeScript): A starter template for a TypeScript project that uses IngloriousScript, bundled with Vite.
What it does
The tool will create a new directory with your chosen project name and copy the template files into it. It will also automatically update the package.json with your project's name.
After the project is created, you can navigate into the directory and install the dependencies.
# 1. Change into your new project directory
cd my-awesome-game
# 2. Install dependencies
pnpm install
# 3. Start the development server
pnpm devLicense
MIT License - Free and open source
Created by Matteo Antony Mistretta
You're free to use, modify, and distribute this software. See LICENSE for details.
