@v12-engine/create
v0.4.0
Published
A project to start a game from: npm create @v12-engine my-game
Readme
@v12-engine/create
Alpha. V12 is in active development: APIs, file formats and saves can change between releases. Pin an exact version for anything you ship. Docs: https://v12-docs.vercel.app
A project to start a game from, made with V12: its rules, its page, and the parts you choose.
npm create @v12-engine my-gameIt asks where to make it, which starter, what the game is called, which parts it has, what server, and whether to make a git repository and install. --yes asks nothing; --help lists every flag.
| Starter | What it is |
| ---------- | -------------------------------------------------------------------------------------------- |
| empty | Hello world: a flat field and a scout to walk it. The default. |
| melee | A whole RTS: two races and their heroes, bases and armies, against the computer. |
| campaign | A campaign of three missions with a hero carried between them, drawn with the shared models. |
| examples | What the engine can do, a small scene each, browsed from a list as three.js's examples are. |
npm create @v12-engine arena -- --yes --starter melee --server rooms --ratingsThe parts: the map editor (--no-editor), a server of one game, of many games in rooms, or none (--server single|rooms|none), ratings (--ratings), a test of the rules (--no-tests), the shared art (--no-assets), a desktop app in an Electron shell (--desktop: npm run app opens it, npm run package makes the app to hand out), a git repository (--no-git), and installing at once (--install).
In code: createProject(folder, options) from @v12-engine/create.
The project it makes is yours: no attribution to this package is asked for in it. The package itself is MIT.
The whole guide is the docs' page Starting a project (docs/start/new-project.md in the repository).
