Pixi’VN is a very versatile and powerful story-driven engine.
$ npx -y skills add drincs-productions/pixi-vn --agent claude-code
Pixi’VN is a very versatile and powerful story-driven engine. It is based on JavaScript/TypeScript and PixiJS, and supports animated characters through Spine 2D and Live2D.
Pixi’VN aims to be an innovative and fast engine, and puts a strong emphasis on AI-assisted development: an AI agent can start your game, gain all the knowledge it needs about your project through Agent Skills, and test the game by launching it in a browser — with the ability to keep driving it from the outside while it plays.
You can use narrative languages that are able to take full advantage of the engine's features, as well as any custom features you add to your project. Currently supported:
For a quick start, various project templates are available, built with React. Less experienced developers can use these templates without much knowledge of JavaScript/TypeScript.
To create a new project from a template, run:
npm create pixi-vn@latest
Pixi’VN is independent of any distribution technology, but strong emphasis is being placed on Roves, built by the same team behind Pixi’VN.
| Platform | Roves | Tauri | Electron |
|---|---|---|---|
| Windows | ✅ | ✅ | ✅ |
| macOS | ✅ | ✅ | ✅ |
| Linux | ✅ | ✅ | ✅ |
| Android | ✅ | ✅ | ❌ |
| iOS | 🚧 | ✅ | ❌ |
| Nintendo | 🚧 | ❌ | ❌ |
| PlayStation | 🚧 | ❌ | ❌ |
| Xbox | 🚧 | ❌ | ❌ |
Before starting, you must have the following tools installed:
To install the Pixi’VN package in an existing JavaScript project, use one of the following commands:
npm install @drincs/pixi-vn
Before using the Pixi’VN engine, you must initialize the game. You can do this by calling the Game.init method.
import { Game } from "@drincs/pixi-vn";
const body = document.body;
if (!body) {
throw new Error("body element not found");
}
Game.init(body, {
height: 1080,
width: 1920,
backgroundColor: "#303030",
}).then(() => {
// ...
Game.start("start", {});
});
// read more here: https://pixi-vn.com/start/other-narrative-features.html#how-manage-the-end-of-the-game
Game.onEnd(async (props) => {
Game.clear();
// navigate to main menu
});
Game.addOnError((error, props) => {
console.error(`Error occurred`, error);
});
Game.onNavigate((path) => navigateTo(path));
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Game</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
html,
body {
background-color: #242424;
height: 100%;
}
body {
margin: 0;
min-height: 100vh;
display: flex;
overflow: hidden;
}
Pixi'VN ships a set of Agent Skills that teach AI coding assistants how to correctly use each part of the engine.
In LM Studio Bionic, ask the agent to install skills from
https://github.com/DRincs-Productions/pixi-vn, or add the skill files in Settings → Skills. To reuse skills installed for Codex or Claude Code, enable Settings → Skills → Use skills found in other apps.
Codex:
npx skills@latest add DRincs-Productions/pixi-vn@latest --skill '*' --agent codex -g -y
Claude Code:
npx skills@latest add DRincs-Productions/pixi-vn@latest --skill '*' --agent claude-code -g -y
Other agents:
npx skills@latest add DRincs-Productions/pixi-vn@latest --all -y
Available skills:
pixi-vn — the index/entry point of the skill set: skill map, installing the package and initializing the Gamepixi-vn-assets — local vs. online assets, the manifest/bundle/alias system, and loading strategypixi-vn-canvas — images, sprites, text, video, transitions and effectspixi-vn-characters — defining and registering characterspixi-vn-history — going back/rewinding and reading the narration backlogpixi-vn-narration — labels, dialogue and choicespixi-vn-saves — exporting/restoring game state and persisting save filespixi-vn-sound — music, sound effects and audio channelspixi-vn-storage — game variables, flags and stored classespixi-vn-testing — driving/inspecting a running game from an AI agent or script via Game.testing, for automated play-testingpixi-vn-ui — mounting HTML/PixiJS UI layers over the canvas, screen navigation, theming, and connecting UI to storagepixi-vn-migration — upgrading an existing project to the current versionpixi-vn is a Claude Code plugin with 13 hand-picked skills, indexed on Flowy in the Entertainment category. Install it with the command on its page. It includes assets, canvas, characters. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it