Developers
Ship a game to every Gamebient screen
From zero to published
- Step 1
Start from the template
Clone the Bevy template and run its init script. It renames the project and then deletes itself.
./init-game.sh "My Game" OWNER/REPO - Step 2
Read the input canon
Add GxInputPlugin and read the GameInput resource. Never read raw keys: that keeps keyboard, gamepad, and touch consistent.
fn update(input: Res<GameInput>) { if input.primary_just_pressed { /* jump */ } } - Step 3
Pick your canvas
Set GAME_WIDTH and GAME_HEIGHT in src/display.rs to one of the supported sizes. The platform takes care of letterboxing.
pub const GAME_WIDTH: f32 = 960.0; pub const GAME_HEIGHT: f32 = 720.0; - Step 4
Build demo and full
One script builds both bundles. The demo build (--features demo) goes to dist/ and the full game to dist/full/.
./build_web.sh - Step 5
Deploy and publish
Deploy the bundles and set demo_url and game_url in info.json. Then publish to ColecoVision GX, which mints the game's cartridge on-chain.
{ "demo_url": "https://…/", "game_url": "https://…/full/" }
Platform contracts
Canvas
Pinned backbuffer, selector #game, fit_canvas_to_parent: false
Input
GameInput only; canon bindings shared by every game
Demo cap
Content cap → DEMO OVER card → demo_end host event
Full access
Served under /full/<token>/ with a valid Ed25519 entitlement
github.com/Bread-Heads-Studios
gamebient-bevy-template →
The starting point for every current Gamebient game. Its AGENTS.md and docs/ are the reference for all conventions.
github.com/Bread-Heads-Studios
gamebient-input →
The input canon plus web glue: touch overlay, host relay, and Gamepad API. Depend on it by git tag.