pixi-vn-getting-started
Pixi'VN project initialization and the Game API
Official docs: pixi-vn.com/start. For a full machine-readable index of every Pixi'VN doc page — useful whenever a task needs more detail than this skill set covers — see pixi-vn.com/llms.txt.
When to use this skill
Use this skill whenever you are bootstrapping a Pixi'VN project from scratch, wiring up src/main.ts, or need to understand what Game.init/Game.start actually do before wiring narration, canvas, sound, storage, or history features. Every other Pixi'VN skill assumes Game.init has already run.
Installing the library
Two paths, depending on whether a project already exists:
-
New project — scaffold from an official template (recommended for anything from scratch):
npm create pixi-vn@latestThis generates a working project (index.html, entry point, bundler config) already wired to call
Game.init, with pre-built menu/narration screens, VS Code launch configs, and (since template v2.0.0) TanStack Router for navigation. See pixi-vn.com/start/templates for the full generated project structure, available templates/demos, and how to run/customize one.