Skip to main content

Localization

· One min read
Balaur

strings/<locale>.toml, one file per language, and strings::tr to read one with the right plural form.

Profiler dock

· One min read
Balaur

engine::timings() is the last frame as a span per stage. The Profiler dock draws it against the 16.7 ms a 60 Hz frame has.

Rollback networking

· 2 min read
Balaur

Two engines exchange inputs and nothing else. Each predicts the other, rolls back when it guessed wrong, and compares a digest per tick to catch a desync.

Save games

· One min read
Balaur

save::write(slot, data) and save::read(slot): a table per user, written so a crash cannot truncate it, and migrated when the game moves on.

Sprites

· One min read
Balaur

A sprite is a textured 2D quad on a node: a texture, a size in pixels per unit, and the sheet or atlas cell it draws.

Mobile export and signing

· 2 min read
Balaur

balaur export fused a pack onto a runtime for Linux, macOS or Windows. Now the same command writes an iOS .app, an Android APK layout, and a signed macOS bundle.

Plugins and extensions

· 2 min read
Balaur

One Plugin trait. Linked in behind a cargo feature, it is a module; built as a shared library and dropped into a project's extensions/, it is an extension. The boundary takes C too.