Skip to content

Tooling & Publishing

  • vgai CLI — scaffold projects and drive a running editor through vgai eval and play controls.
  • npx @vgai/cli@latest create — the public scaffolder for Three.js, PixiJS, React, or a shipped example.
  • editor SDK — EditorClient for programmatic editor control (used to record this site’s lesson videos).
  • Hot reload — Vite and React update source-owned worlds through their native module and component lifecycle.
  • Storage backends & browser-first editor — OPFS / File System Access / HTTP; build:web produces a static, server-less editor.
  • Validation & generation — validate-assets, generate-schema, generate-engine-manifest, generate-audio.
  • Build & publish — build:web → an itch.io-ready vgai-web.zip; the in-editor Build panel.

Web export is shipped and runs from the editor’s Build panel. Desktop (via electron-builder) is wired as scripts but not yet proven end-to-end; its page documents exactly how far the path is validated. The web bundle also runs in mobile browsers; no native mobile or Steam packaging target is shipped.