Pathway: Integrator / Porter
Level: Advanced Β· For: porting/ingesting existing games and using the toolchain.
The route
Section titled βThe routeβ-
The adapter seam β the adapter architecture (GameAdapter, AuthoringAdapter, system adapters).
-
Ingest unmodified games β the render-accessor trap + overlays.
-
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.
-
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) anddocs/PORTING-NETWORKING.md(hand-rolled ws/socket.io β Colyseus β vgaiβs conventional stack, not an engine requirement). The decision guide between the routes isdocs/BRINGING-AN-EXISTING-GAME.md. -
Tooling & publishing β the CLI/SDK & scaffolding and hot reload, storage & web builds.
-
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.
Outcome
Section titled βOutcomeβ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.