Skip to content

Tooling & Publishing

  • vgai CLI — drive a running editor (open scenes, play/stop, select, focus, toggle panels) and scaffold projects.
  • npx @vgai/cli@latest create — the public scaffolder for Three.js, PixiJS, React, or a shipped example.
  • editor SDKEditorClient for programmatic editor control (used to record this site’s lesson videos).
  • Hot reload — server HMR and in-browser transpile that swaps a component’s code while preserving live state.
  • Storage backends & browser-first editor — OPFS / File System Access / HTTP; build:web produces a static, server-less editor.
  • Validation & generationvalidate-scenes, generate-schema, generate-engine-manifest, generate-audio.
  • Build & publishbuild: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. Steam and Capacitor mobile scaffolds were parked (removed with recorded reopening gates).