good_cli 0.2.0 copy "good_cli: ^0.2.0" to clipboard
good_cli: ^0.2.0 copied to clipboard

The build tool for the good game engine: project scaffolding, asset compaction and encrypted packing, codegen for asset bindings, and per- platform build orchestration.

good_cli #

The good command: it scaffolds a project, generates asset bindings, converts and packs your assets, and builds the result for a platform.

dart pub global activate good_cli

Starting a project #

good create my_game
cd my_game
flutter run

The asset pipeline #

Drop source art in assets_src/, then:

good assets compact   # one canonical format per kind, via ffmpeg
good generate         # writes lib/good.generated/ — an enum per shipped asset

good generate is what lets you write Textures.spritesPlayer instead of a string path, so a renamed file is a compile error, not a black square at runtime.

Shipping #

good assets pack              # compress, encrypt, group into chunks
good build windows            # also: linux, android, ios

good build runs the pipeline first, so the release bundle carries the packed chunks and not your loose source assets.

Next #

create, generate, assets compact, assets pack and build for Windows, Linux, Android and iOS work today and are verified end to end. good build macos and good run are not written yet, and good create has rough edges worth reading about before you hit them: what works today.

0
likes
140
points
119
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

The build tool for the good game engine: project scaffolding, asset compaction and encrypted packing, codegen for asset bindings, and per- platform build orchestration.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

analyzer, archive, args, crypto, cryptography, good, meta, path, yaml

More

Packages that depend on good_cli