Skip to content

Pathway: Integrator / Porter

Level: Advanced Β· For: porting/ingesting existing games and using the toolchain.

  1. The adapter seam β€” the adapter architecture (GameAdapter, AuthoringAdapter, system adapters).

  2. Ingest unmodified games β€” the render-accessor trap + overlays.

  3. Study real ingests β€” the marquee unmodified ingests: pmndrs/racing-game, simcity, and the multiplayer colyseus/realtime-tanks-demo β€” each a real third-party Three.js game run byte-for-byte unmodified through the ingest adapter.

  4. Adapt without vendoring β€” custom adapters: your game keeps its own architecture and ships a small { module } adapter the editor mounts. For a full port to the native format instead, the vgai checkout carries the cheatsheets: docs/PORTING-PHYSICS.md (cannon-es/ammo.js β†’ Rapier β€” required for a native port) and docs/PORTING-NETWORKING.md (hand-rolled ws/socket.io β†’ Colyseus β€” vgai’s conventional stack, not an engine requirement). The decision guide between the routes is docs/BRINGING-AN-EXISTING-GAME.md.

  5. Tooling & publishing β€” the CLI/SDK & scaffolding and hot reload, storage & web builds.

  6. Lab β€” ingest a small Three.js demo of your own (see the β€œIngest your own folder” section of the ingest tutorial), edit it, and persist the edits as an overlay.

You can ingest an unmodified Three.js game, edit and persist it via overlays, drive the editor from the CLI/SDK, and produce a web build.