Render: each bone drawn as a rotated rect of fixed length+thickness (16x4 px) centered at the bone's world-position with its current angle. Sprite-based rendering deferred to Phase 2 when tilesets exist. Load helpers: engine.asset.load_json(path) + build_rig/build_animation. The engine provides a single-call JSON loader (reads file + parses JSON -> Lua table) via engine.asset.load_json; there is no separate cjson.decode API. Confirmed by engine_lua_asset.c and maps lib usage. v0.1 complete: skeleton + bones + tracks + rest + keyframe + procedural + look-at + render + load. Footplant deferred.
16 KiB
16 KiB