incanto
v0.3.4
Published
Vibe-coding-first web game engine SDK — JSON-driven scenes on three.js
Maintainers
Readme
incanto
Vibe-coding-first web game engine SDK. Every scene, character, event, and multiplayer rule is JSON an AI agent can read, diff, and rewrite — rendered by three.js.
bun add incanto threeimport { Engine, loadScene } from 'incanto';
import { Renderer2D, enablePhysics2D, registerNodes2D } from 'incanto/2d';
registerNodes2D();
const scene = loadScene(levelJson); // the whole game lives in *.scene.json
const engine = new Engine();
engine.setScene(scene);
engine.input.attachKeyboard(window);
new Renderer2D({ canvas, engine });
await enablePhysics2D(engine);
engine.start();| Entry | Contents |
|---|---|
| incanto | node tree, scene JSON load/serialize, signals, Engine loop, InputMap, Behavior, Timer |
| incanto/2d | sprites, spritesheet animation, Camera2D, labels/UI, Rapier 2D physics, character controller |
| incanto/3d | meshes, lights, Camera3D, Rapier 3D physics |
| incanto/net | multiplayer over a pluggable NetworkTransport — built-in offline Loopback + @agent8/gameserver adapter (optional peer); custom backends implement one interface |
schemas/scene.schema.json— generated JSON Schema for scene files (the agent contract)templates/agent8-server.js— the multiplayer server kernel for the agent8 platform
Docs, agent skills, examples, and architecture: https://github.com/rareboe/Incanto
© 2026 Verse8. All rights reserved. Proprietary — see LICENSE. Bundled third-party OSS notices: THIRD-PARTY-NOTICES.md.
