Skip to content

@modoki/engine / index / ENGINE_VERSION

Variable: ENGINE_VERSION

const ENGINE_VERSION: "0.1.0" = '0.1.0'

Engine + asset format versions — single source of truth (ELECTRON_PLAN Phase 4).

ENGINE_VERSION identifies the runtime/editor build (surfaced to tooling, the scaffold, and "About"). SCENE_FORMAT_VERSION is the version stamped into newly created scene/prefab JSON; older files are upgraded by the migration chain in runtime/loaders/loadSceneFile.ts (each migrateVNtoVN+1 step). Bump SCENE_FORMAT_VERSION in lockstep with adding a new migration there.

Built with Modoki.