Scenes
Use the Game Studio scene surface and insert matching `.cbp` script.
ClosedBit Games
closedbit-game
The game-focused lane for scenes, input, rendering, runtime packages, game `.exe` exports, copyable starter loops, and the `closedbit-game` license record.
Game workflow
Use this lane for game templates, render loops, input, saving, and runtime exports through the Windows Game Studio Console.
Use the Game Studio scene surface and insert matching `.cbp` script.
Write keyboard, mouse, and window loop code in `.cbp`.
Use `CB-Render` helpers for windows, text, shapes, grids, and batches.
Build normal game `.exe` output or `.cba` runtime packages.
help
check
save
compile exe small fps graphics threaded usage_high
compile exe small fps graphics threaded usage_high msi
compile cba small fps graphics threaded
compile dll small fps graphics threaded
compile library small graphics threaded
target exe
target cba
target library
library CB-Render
library CB-Input
library CB-Storage
fn main() {
init_window(960, 540, "ClosedBit Game")
while window_open() {
handle_events()
clear(0x071018)
if key_down(KEY_W) {
draw_text(24, 64, "moving forward", 0xFFD36A, 18)
}
draw_text(24, 24, "ClosedBit Game", 0x64F1AC, 24)
present()
}
}
Login here when you want to view or activate the game product. The startup login gate now lives inside ClosedBit Games.
Login to view this product license.