Skip to content

five-on-it / apps/tools/src/pipeline

apps/tools/src/pipeline ​

The export pipeline as one call: hold every scene's name to the convention, then for every scene folder of the editor project (or the one named) read it and export the level JSON into packages/world/levels/ (with the sky its level spec gives, level-sky.ts); finally remove the level files whose scene is gone and rewrite the registry packages/world/levels/index.ts. No editor, no packing: the scene folder the editor saves is read as it is. Used by the command line, the watcher and the play loop.

Functions ​