You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What changed
amber new <name> --type game (preview, #91). It writes a co-op browser game on the Amber Game Kit v0.1.1 (commit 5b03a7382d9ec97afbf90a6eabe683116fa573f2, tarball sha256 2c4a04d4f1c77f193725b26e875fc48b3c7599645a3a89bfddb01f14106d9300):
Crystal rules compiled to WebAssembly, a page with the kit's input layer, invite link and QR code, device-only saves, and an Amber V2 relay.
Both shard.lock files (root and relay/) pin the kit commit with Minecart checksums, so minecart install --frozen works from the first command.
/usr/bin/ruby tooling/first_run.rb installs, fetches the pinned WASI toolchain, builds and starts the game, and prints the link to open in two browser windows.
Names that would clash with a Crystal top-level type or a browser page global are refused before anything is written.
CI generates a game, builds it, runs its specs and plays it for 3 minutes headless against the kit's performance budget.
Generated web and native apps pin the same release set as 2.0.20: Amber 2.0.0-beta.17, Grant 0.30.0, asset_pipeline 0.41.0, crystal-mysql 0.19.0 and Beryl 0.2.5.
Provenance
Tag v2.0.21 points at commit b70496c5e0e2e7932239fcdca91ff47c975070cf (the merge of #93).
The source archive and its sha256 are attached as amber_cli-source-2.0.21.tar.gz and .sha256. Each binary archive has its own .sha256.