/game

Build, ship, and license ClosedBit games.

This page is the public Game Studio doorway: installers, game examples, license checks, and future engine updates stay separated from the Coding Studio.

Game Lane

Use this for `.cba`, `.exe`, and game-runtime account/license checks.

Why Games?

The game lane is for `.cba` apps, game `.exe` output, runtime tests, scene examples, input handling, and render-heavy demos.

License Gate

Free license activation is wired through the account API now, so game builds can call the same license endpoint later.

Game Examples

Starter patterns

First window

library CB-Library;
library CB-Render;

fn main() {
    init_window(960, 540, "ClosedBit Game");
    while window_open() {
        clear(0x071018);
        draw_text(24, 24, "Ready", 0x56F0A6, 24);
        present();
    }
}

Movement idea

if key_down(KEY_W) { player.z += 0.05; }
if key_down(KEY_S) { player.z -= 0.05; }
if mouse_down(0) { fire_projectile(); }

What to try

  • Top-down arcade movement
  • First-person input tests
  • Physics and collision stress scenes
  • Render batching and UI overlays

Game Account

Checking