just_game_engine_cli 0.1.0
just_game_engine_cli: ^0.1.0 copied to clipboard
The Just Game Engine's commands for `just` (just_core_cli): run and build games, check releases hold no editor, manage scenes and migrate saved files.
0.1.0 #
The first release: the Just Game Engine's commands for just (just_core_cli 0.1.0), as a plugin every game has in its dev dependencies.
- Running and shipping:
game run [--editor];game build <platform> [--editor-entry], then a check that the release build holds no editor (and, in a 2D game, no 3D physics), on the web in the JavaScript and, from a--wasmbuild, the WebAssembly;game check [release-imports|release-build|formats]. - Scenes:
game scene list|new|rename|delete|order|migrate|validate, written as the editor writes them, and never while the editor has the project open. - The engine's versions:
GameSetholds the engine's packages (with the Asset Store from git and the editors from the store) and the Flutter and Dart they need;game initstarts a game on it,game doctorchecks against it, andgame upgrade [--check]moves the pubspec's one-line constraints to it (never a package that is ahead of it back) — theupgradehook ofjust upgrade, which fetches the packages in its transaction. - Setup and upgrades:
game doctor(the editor kept to debug builds and out of the game's imports and dependencies, git ignores, the macOS network entitlement);game migrate [--check] [--engine-only] [--force]rewrites old scenes, timelines and animator graphs in one transaction, and only those: a file of another kind is never read as one of them. An open editor stops it only when there is something to rewrite;--checkanswersjust upgradebefore it changes anything. - Hooks:
create(game init: the game template, the first level, the editor from the Asset Store, Flutter GPU for a 3D game),check,doctor,upgrade,migrateandlink(game link: store items registered afterjust dev link;just dev unlinkrefused while only the links supply a package), whichjust create,just check,just doctor,just upgradeandjust dev link|unlinkrun.game doctoralso checks the SDK floors, the engine's versions and the store's links to checkouts. - The toolkit, on every platform including the web (JavaScript and WebAssembly):
GameSet,GameTemplate,GameEntries,ReleaseRules,ReleaseImports,ReleaseBuild(withReleaseBuildFiles),FormatsCheckandEditorPresencework on text. Wheredart:iois, theGameProjectextension onJustProjectreads a game on disk for them (releaseRules(),editorReachableFrom(),checkReleaseBuild(),checkFormats(),editorIsOpen()), and the commands run.