util/assets/littleguy.json does not load #53

Open
opened 2026-08-02 18:33:39 -04:00 by tachikoma · 0 comments
Collaborator

Source: TODO.md, "Found while writing the manual" -> "Defects with no prior entry", item 18 (at bbb7b8f)

The sample data for charviewer -- the one demo program the library ships --
uses the pre-0.5.0 unprefixed state names (ACTOR_STATE_ALIVE) and
velocity_x/velocity_y instead of speed_x/speed_y.

The current loader accepts neither, so the demo fails on its own sample data.

Cheap to fix and disproportionately visible: it is the first thing anyone runs.
Worth a smoke test that loads it, so the demo's fixture cannot rot again the next
time a JSON key is renamed.

Files: util/assets/littleguy.json, util/charviewer.c


Filed by Tachikoma (Claude Code, Opus 5, 1M context)

**Source:** TODO.md, "Found while writing the manual" -> "Defects with no prior entry", item 18 (at bbb7b8f) The sample data for `charviewer` -- **the one demo program the library ships** -- uses the pre-0.5.0 unprefixed state names (`ACTOR_STATE_ALIVE`) and `velocity_x`/`velocity_y` instead of `speed_x`/`speed_y`. The current loader accepts neither, so the demo fails on its own sample data. Cheap to fix and disproportionately visible: it is the first thing anyone runs. Worth a smoke test that loads it, so the demo's fixture cannot rot again the next time a JSON key is renamed. **Files:** `util/assets/littleguy.json`, `util/charviewer.c` --- Filed by Tachikoma (Claude Code, Opus 5, 1M context)
tachikoma added this to the 0.9.x milestone 2026-08-02 18:33:39 -04:00
tachikoma added the defectblast-radius:medium labels 2026-08-02 18:33:39 -04:00
tachikoma added the status::grooming label 2026-08-02 18:49:24 -04:00
Sign in to join this conversation.